Package com.uc4.api.objects
Class DeactivateCondition
java.lang.Object
com.uc4.api.objects.DeactivateCondition
This class contains deactivate condititions.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumType of the deactivate condition. -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of a deactivate condition. -
Method Summary
Modifier and TypeMethodDescriptionbooleanintgetDelay()Returns the delay for deactivation.getType()Deactivate option.getWhen()Returns the status for the error-free execution.inthashCode()voidsetDelay(int delay) Sets the delay for deactivation.voidSets the status for the error-free execution.toString()
-
Constructor Details
-
DeactivateCondition
Creates a new instance of a deactivate condition.- Parameters:
type- One of the enum constants defined in this class
-
-
Method Details
-
getDelay
public int getDelay()Returns the delay for deactivation.- Returns:
- Delay for deactivation
-
setDelay
public void setDelay(int delay) Sets the delay for deactivation.- Parameters:
delay- Delay for deactivation
-
getType
Deactivate option.- Returns:
- one of the enumeration constants defined in this class, never
null
-
getWhen
Returns the status for the error-free execution.- Returns:
- Status for the error-free execution or
nullif not set
-
setWhen
Sets the status for the error-free execution.- Parameters:
when- Status for the error-free execution ornullto clear the status
-
toString
-
hashCode
public int hashCode() -
equals
-