Class JobPlanCheckpoint


  • @Deprecated
    public class JobPlanCheckpoint
    extends java.lang.Object
    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

      Constructors 
      Modifier Constructor Description
      protected JobPlanCheckpoint()
      Deprecated.
       
      protected JobPlanCheckpoint​(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
      int getDaysAfterJobPlanActivation()
      Deprecated.
      Returns the number of days as of JobPlan activation.
      UC4ObjectName getExecute()
      Deprecated.
      Returns the name of the object that is to be started when the checkpoint has been exceeded.
      Time getTime()
      Deprecated.
      Returns the checkpoint time.
      UC4TimezoneName getTimezone()
      Deprecated.
      Returns the TimeZone that is to be used.
      boolean isTimeCheckpoint()
      Deprecated.
      Returns true 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 setTime​(Time time)
      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 store​(com.uc4.util.XMLDocument doc, org.w3c.dom.Element task)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JobPlanCheckpoint

        protected JobPlanCheckpoint()
        Deprecated.
      • JobPlanCheckpoint

        protected JobPlanCheckpoint​(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.
        Returns true 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
        Permitted values: 0 - 99
        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