Package com.uc4.api.objects
Class JobPlanEarliest
- java.lang.Object
- 
- com.uc4.api.objects.JobPlanEarliest
 
- 
 public class JobPlanEarliest extends java.lang.ObjectThis class can be used to specify the earliest starting time for a task in a JobPlan. The task may be marked active or a breakpoint may be set.
- 
- 
Constructor SummaryConstructors Modifier Constructor Description protectedJobPlanEarliest(boolean isExternal)protectedJobPlanEarliest(com.uc4.util.XMLDocument doc, org.w3c.dom.Element task)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description JobPlanEarliestcopy()Creates a deep copy of this objectintgetDaysAfterJobPlanActivation()Returns the number of days which should be added to the current date as of activation to get the earliest start time.TimegetTime()Returns the earliest start time.UC4TimezoneNamegetTimezone()Returns the TimeZone that is to be used.booleanisActive()Returnstrueif this task is active.booleanisBreakPoint()Returnstrueif the JobPlan should stop at this task.booleanisEarliestStart()Returnstrueif an earliest start check is enabled for this JobPlan task.voidsetActive(boolean active)Sets this task active or inactive.voidsetBreakPoint(boolean breakPoint)Sets or clears the breakpoint.voidsetDaysAfterJobPlanActivation(int daysAfterJobPlanActivation)Sets the number of days which should be added to the current date as of activation to get the earliest start time.voidsetEarliestStart(boolean earliestStart)Enables or disables the check for the earliest start time.voidsetTime(Time time)Sets the earliest start time.voidsetTimezone(UC4TimezoneName timezone)Sets the TimeZone that is to be used.protected voidstore(com.uc4.util.XMLDocument doc, org.w3c.dom.Element task)
 
- 
- 
- 
Method Detail- 
storeprotected void store(com.uc4.util.XMLDocument doc, org.w3c.dom.Element task)
 - 
isActivepublic boolean isActive() Returnstrueif this task is active.- Returns:
- True if this task is active
 
 - 
setActivepublic void setActive(boolean active) Sets this task active or inactive.- Parameters:
- active- Boolean value which true if this task should be active
 
 - 
getDaysAfterJobPlanActivationpublic int getDaysAfterJobPlanActivation() Returns the number of days which should be added to the current date as of activation to get the earliest start time.- Returns:
- Number of days as of JobPlan activation
 
 - 
setDaysAfterJobPlanActivationpublic void setDaysAfterJobPlanActivation(int daysAfterJobPlanActivation) Sets the number of days which should be added to the current date as of activation to get the earliest start time.- Parameters:
- daysAfterJobPlanActivation- Number of days as of JobPlan activation
 
 - 
isEarliestStartpublic boolean isEarliestStart() Returnstrueif an earliest start check is enabled for this JobPlan task.- Returns:
- True if earliest start is enabled
 
 - 
setEarliestStartpublic void setEarliestStart(boolean earliestStart) Enables or disables the check for the earliest start time.- Parameters:
- earliestStart- Boolean value which true if earliest start should be checked
 
 - 
getTimepublic Time getTime() Returns the earliest start time.- Returns:
- Earliest start time
 
 - 
setTimepublic void setTime(Time time) Sets the earliest start time. If the task is ready to start but the time specified for the earliest start has not yet been reached, this task goes into a "waiting" condition. Its status is "Waiting for start time".- Parameters:
- time- Start time
 
 - 
isBreakPointpublic boolean isBreakPoint() Returnstrueif the JobPlan should stop at this task. To continue, the breakpoint in the JobPlan Monitor must be deleted manually.- Returns:
- True if a break point is set
 
 - 
setBreakPointpublic void setBreakPoint(boolean breakPoint) Sets or clears the breakpoint. IfbreakPointis set totruethe JobPlan is stopped at this task. To continue, the breakpoint in the JobPlan Monitor must be deleted manually.- Parameters:
- breakPoint- Boolean value which true if a break point should be set
 
 - 
getTimezonepublic UC4TimezoneName getTimezone() Returns the TimeZone that is to be used.- Returns:
- TimeZone
 
 - 
setTimezonepublic void setTimezone(UC4TimezoneName timezone) Sets the TimeZone that is to be used.- Parameters:
- timezone- TimeZone
 
 - 
copypublic JobPlanEarliest copy() Creates a deep copy of this object- Returns:
- A copy of this object
 
 
- 
 
-