Package com.uc4.api.objects
Class JobPlanCheckpoint
- java.lang.Object
-
- com.uc4.api.objects.JobPlanCheckpoint
-
@Deprecated public class JobPlanCheckpoint extends java.lang.ObjectDeprecated.Use ProcessFlowGeneral instead, this class will be removed in the next main releaseThis 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
Constructors Modifier Constructor Description protectedJobPlanCheckpoint()Deprecated.protectedJobPlanCheckpoint(com.uc4.util.XMLDocument doc, org.w3c.dom.Element task)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intgetDaysAfterJobPlanActivation()Deprecated.Returns the number of days as of JobPlan activation.UC4ObjectNamegetExecute()Deprecated.Returns the name of the object that is to be started when the checkpoint has been exceeded.TimegetTime()Deprecated.Returns the checkpoint time.UC4TimezoneNamegetTimezone()Deprecated.Returns the TimeZone that is to be used.booleanisTimeCheckpoint()Deprecated.Returnstrueif time checkpoint is enabled for this JobPlanTask.voidsetDaysAfterJobPlanActivation(int daysAfterJobPlanActivation)Deprecated.Sets the number of days as of JobPlan activation.voidsetExecute(UC4ObjectName execute)Deprecated.Sets the name of the object that is to be started when the checkpoint has been exceeded.voidsetTime(Time time)Deprecated.Sets the Checkpoint time.voidsetTimeCheckpoint(boolean timeCheckpoint)Deprecated.Enables or disables the time checkpoint for this JobPlanTask.voidsetTimezone(UC4TimezoneName timezone)Deprecated.Sets the TimeZone that is to be used.protected voidstore(com.uc4.util.XMLDocument doc, org.w3c.dom.Element task)Deprecated.
-
-
-
Method Detail
-
store
protected void store(com.uc4.util.XMLDocument doc, org.w3c.dom.Element task)Deprecated.
-
isTimeCheckpoint
public boolean isTimeCheckpoint()
Deprecated.Returnstrueif 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
public Time getTime()
Deprecated.Returns the checkpoint time.- Returns:
- Checkpoint time
-
setTime
public void setTime(Time time)
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
public UC4TimezoneName getTimezone()
Deprecated.Returns the TimeZone that is to be used.- Returns:
- Used TimeZone
-
setTimezone
public void setTimezone(UC4TimezoneName timezone)
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
public UC4ObjectName getExecute()
Deprecated.Returns the name of the object that is to be started when the checkpoint has been exceeded.- Returns:
- Object name
-
setExecute
public void setExecute(UC4ObjectName execute)
Deprecated.Sets the name of the object that is to be started when the checkpoint has been exceeded.- Parameters:
execute- Object name
-
-