Class ConditionDefinition
java.lang.Object
com.inet.taskplanner.server.api.job.ConditionDefinition
Represents a condition for a
job which decides whether the result of the job must be processed
by resultActions or not.
A condition is identified with its key. The available conditions for a Job are included in
AbstractFactory.getInformation(GUID). When a job was executed, the condition is checked in the
job instance.
- Since:
- taskplanner 3.0
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new ConditionDefinition instance.ConditionDefinition(@Nullable Map<String, String> properties) Creates a new ConditionDefinition instance. -
Method Summary
Modifier and TypeMethodDescription@Nonnull ConditionDefinitionMakes a deep copy of this condition definition.booleanGet the properties object from this condition definition.getProperty(String key) Returns the value of a property of this definitioninthashCode()removeProperty(String key) Removes a property of this definitionvoidsetProperty(@Nullable String key, @Nullable String value) Sets a property, defined by the key, to this definition
-
Constructor Details
-
ConditionDefinition
public ConditionDefinition()Creates a new ConditionDefinition instance.- Since:
- taskplanner 3.0
-
ConditionDefinition
-
-
Method Details
-
getProperties
-
getProperty
-
setProperty
-
removeProperty
-
copyDefinition
Makes a deep copy of this condition definition.- Returns:
- a copy of this object
- Since:
- taskplanner 3.0
-
hashCode
-
equals
-