public class DeactivateCondition extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DeactivateCondition.Type
Type of the deactivate condition.
|
| Constructor and Description |
|---|
DeactivateCondition(DeactivateCondition.Type type)
Creates a new instance of a deactivate condition.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getDelay()
Returns the delay for deactivation.
|
DeactivateCondition.Type |
getType()
Deactivate option.
|
TaskState |
getWhen()
Returns the status for the error-free execution.
|
int |
hashCode() |
void |
setDelay(int delay)
Sets the delay for deactivation.
|
void |
setWhen(TaskState when)
Sets the status for the error-free execution.
|
String |
toString() |
public DeactivateCondition(DeactivateCondition.Type type)
type - One of the enum constants defined in this classpublic int getDelay()
public void setDelay(int delay)
delay - Delay for deactivationpublic DeactivateCondition.Type getType()
nullpublic TaskState getWhen()
null if not setpublic void setWhen(TaskState when)
when - Status for the error-free execution or null to clear the statusCopyright © 2021. All rights reserved.