Class ManagedJobDescriptor


  • public class ManagedJobDescriptor
    extends Object
    A class containing metadata information about a job, such as its creation/end
    Author:
    Charles Edward Bedon Cortazar <charles.bedon@kuwaiba.org>
    • Field Detail

      • STATE_CREATED

        public static final int STATE_CREATED
        The job is stopped.
        See Also:
        Constant Field Values
      • STATE_RUNNING

        public static final int STATE_RUNNING
        The job is in progress.
        See Also:
        Constant Field Values
      • STATE_SCHEDULED

        public static final int STATE_SCHEDULED
        The job has been scheduled to start later.
        See Also:
        Constant Field Values
      • STATE_END_SUCCESS

        public static final int STATE_END_SUCCESS
        The job ended successfully.
        See Also:
        Constant Field Values
      • STATE_END_ERROR

        public static final int STATE_END_ERROR
        The job ended with error.
        See Also:
        Constant Field Values
      • STATE_END_KILLED

        public static final int STATE_END_KILLED
        The job stopped killed by the user.
        See Also:
        Constant Field Values
    • Constructor Detail

    • Method Detail

      • getId

        public String getId()
      • getCreationTime

        public long getCreationTime()
      • setCreationTime

        public void setCreationTime​(long creationTime)
      • getEndTime

        public long getEndTime()
      • setEndTime

        public void setEndTime​(long endTime)
      • getDescription

        public String getDescription()
      • setDescription

        public void setDescription​(String description)
      • getState

        public int getState()
      • setState

        public void setState​(int state)
      • getProgress

        public float getProgress()
      • setProgress

        public void setProgress​(float progress)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object