org.rhq.core.clientapi.agent.operation
Class CancelResults

java.lang.Object
  extended by org.rhq.core.clientapi.agent.operation.CancelResults
All Implemented Interfaces:
Serializable

public class CancelResults
extends Object
implements Serializable

Encapsulates the results of a cancelation request.

See Also:
Serialized Form

Nested Class Summary
static class CancelResults.InterruptedState
          Defines the different states an operation job can be in when being canceled.
 
Constructor Summary
CancelResults(CancelResults.InterruptedState interruptedState)
          Constructor for CancelResults.
 
Method Summary
 CancelResults.InterruptedState getInterruptedState()
          Returns the state the operation was in when it was canceled.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CancelResults

public CancelResults(CancelResults.InterruptedState interruptedState)
Constructor for CancelResults.

Parameters:
interruptedState -
Method Detail

getInterruptedState

public CancelResults.InterruptedState getInterruptedState()
Returns the state the operation was in when it was canceled. See the javadoc on the CancelResults.InterruptedState enum for the definitions of each state.

Returns:
the state the operation invocation was in when it was canceled


Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.