Package com.uc4.api.objects
Class JobPlanCheckpoint
java.lang.Object
com.uc4.api.objects.JobPlanCheckpoint
Deprecated.
Use ProcessFlowGeneral instead, this class will be removed in the next main release
This class can be used to set time checkpoints for tasks within a JobPlan.
If the particular task has not started by the specified time,
the specified object is activated.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Deprecated.protected
JobPlanCheckpoint
(com.uc4.util.XMLDocument doc, Element task) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionint
Deprecated.Returns the number of days as of JobPlan activation.Deprecated.Returns the name of the object that is to be started when the checkpoint has been exceeded.getTime()
Deprecated.Returns the checkpoint time.Deprecated.Returns the TimeZone that is to be used.boolean
Deprecated.Returnstrue
if time checkpoint is enabled for this JobPlanTask.void
setDaysAfterJobPlanActivation
(int daysAfterJobPlanActivation) Deprecated.Sets the number of days as of JobPlan activation.void
setExecute
(UC4ObjectName execute) Deprecated.Sets the name of the object that is to be started when the checkpoint has been exceeded.void
Deprecated.Sets the Checkpoint time.void
setTimeCheckpoint
(boolean timeCheckpoint) Deprecated.Enables or disables the time checkpoint for this JobPlanTask.void
setTimezone
(UC4TimezoneName timezone) Deprecated.Sets the TimeZone that is to be used.protected void
Deprecated.
-
Constructor Details
-
JobPlanCheckpoint
protected JobPlanCheckpoint()Deprecated. -
JobPlanCheckpoint
Deprecated.
-
-
Method Details
-
store
Deprecated. -
isTimeCheckpoint
public boolean isTimeCheckpoint()Deprecated.Returnstrue
if time checkpoint is enabled for this JobPlanTask.- Returns:
- True if a time checkpoint is enabled
-
setTimeCheckpoint
public void setTimeCheckpoint(boolean timeCheckpoint) Deprecated.Enables or disables the time checkpoint for this JobPlanTask.- Parameters:
timeCheckpoint
- Boolean value to set the time checkpoint
-
setDaysAfterJobPlanActivation
public void setDaysAfterJobPlanActivation(int daysAfterJobPlanActivation) Deprecated.Sets the number of days as of JobPlan activation.Examples:
- 0 days = the day of JobPlan activation
- 2 days = two days after JobPlan activation
- Parameters:
daysAfterJobPlanActivation
- Number of days as of JobPlan activation
-
getTime
Deprecated.Returns the checkpoint time.- Returns:
- Checkpoint time
-
setTime
Deprecated.Sets the Checkpoint time.If the task could not be started before this time, the object specified in the "Execute" section will be activated.
- Parameters:
time
- Checkpoint time
-
getTimezone
Deprecated.Returns the TimeZone that is to be used.- Returns:
- Used TimeZone
-
setTimezone
Deprecated.Sets the TimeZone that is to be used.- Parameters:
timezone
- TimeZone
-
getDaysAfterJobPlanActivation
public int getDaysAfterJobPlanActivation()Deprecated.Returns the number of days as of JobPlan activation.- Returns:
- number of days as of JobPlan activation
-
getExecute
Deprecated.Returns the name of the object that is to be started when the checkpoint has been exceeded.- Returns:
- Object name
-
setExecute
Deprecated.Sets the name of the object that is to be started when the checkpoint has been exceeded.- Parameters:
execute
- Object name
-