public final class ExecutionControlProperties
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
ExecutionControlProperties(boolean suspensible,
boolean resettable,
boolean closable)
Constructor initialising an completely initialised instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
boolean |
isClosable()
Returns true, if it is possible to request from the running activity
to close itself.
|
boolean |
isResettable()
Returns true if the activity can be reset.
|
boolean |
isSuspensible()
Returns true if the activity can be suspended.
|
public ExecutionControlProperties(boolean suspensible,
boolean resettable,
boolean closable)
suspensible - Whether execution can be suspended.resettable - Whether execution can be reset.closable - Whether execution can be closed.public boolean isSuspensible()
When the activity is suspended, it must be able to save its whole state and restore this state on resume. The API of the runtime manager allows for storing and restoring the required data.
public boolean isResettable()
public boolean isClosable()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object