Package com.avoka.tm.vo
Class JobStep
- java.lang.Object
-
- com.avoka.tm.vo.JobStep
-
public class JobStep extends Object
Provide a Job Step value object class.- Since:
- 5.0.0
-
-
Field Summary
Fields Modifier and Type Field Description List<JobAction>jobActionsThe job step actions.static StringSTATUS_CANCELLEDThe job step "Cancelled" status.static StringSTATUS_COMPLETEDThe job step "Completed" status.static StringSTATUS_EXPIREDThe job step "Expired" status.static StringSTATUS_IN_PROGRESSThe job step "In Progress" status.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetCurrentJobActionId()The current job action id (PK).LonggetExpiryServiceId()The job step expiry service id (PK).LonggetId()The job step record (PK).List<JobAction>getJobActions()The job step actions.StringgetName()The job step name.StringgetNextStepName()The next job step name.StringgetStatus()The job step status.DategetTimeCompletionScheduled()The time the job step is scheduled to be completed.DategetTimeCreated()The time the job step was created.DategetTimeFinished()The time the job step was finished.StringgetType()The job step type.booleanisAllFormsEditable()The all forms editable option.booleanisDynamicPreConditions()The dynamic pre-conditions option.booleanisShareExtractData()The share form data extracts between step forms option.booleanisShareFormData()The share form XML data between step forms option.booleanisShowPreviousForms()The show previous step forms option.StringtoString()
-
-
-
Field Detail
-
STATUS_CANCELLED
public static final String STATUS_CANCELLED
The job step "Cancelled" status.- See Also:
- Constant Field Values
-
STATUS_COMPLETED
public static final String STATUS_COMPLETED
The job step "Completed" status.- See Also:
- Constant Field Values
-
STATUS_EXPIRED
public static final String STATUS_EXPIRED
The job step "Expired" status.- See Also:
- Constant Field Values
-
STATUS_IN_PROGRESS
public static final String STATUS_IN_PROGRESS
The job step "In Progress" status.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
JobStep
public JobStep()
-
JobStep
public JobStep(com.avoka.fc.core.entity.JobStep jobStep)
Create a Job Step value object with the given job step entity parameter.- Parameters:
jobStep- the job step entity parameter (required)
-
JobStep
public JobStep(Map fields)
Create a unit testing JobStep value object with the given fields.- Parameters:
fields- the job step entity fields (required)- Since:
- 5.1.4
-
-
Method Detail
-
toString
public String toString()
-
getId
public Long getId()
The job step record (PK).
-
getName
public String getName()
The job step name.
-
getType
public String getType()
The job step type.
-
getStatus
public String getStatus()
The job step status.
-
getCurrentJobActionId
public Long getCurrentJobActionId()
The current job action id (PK).
-
getExpiryServiceId
public Long getExpiryServiceId()
The job step expiry service id (PK).
-
isAllFormsEditable
public boolean isAllFormsEditable()
The all forms editable option.
-
isDynamicPreConditions
public boolean isDynamicPreConditions()
The dynamic pre-conditions option.
-
isShareExtractData
public boolean isShareExtractData()
The share form data extracts between step forms option.
-
isShareFormData
public boolean isShareFormData()
The share form XML data between step forms option.
-
isShowPreviousForms
public boolean isShowPreviousForms()
The show previous step forms option.
-
getNextStepName
public String getNextStepName()
The next job step name.
-
getTimeCreated
public Date getTimeCreated()
The time the job step was created.
-
getTimeCompletionScheduled
public Date getTimeCompletionScheduled()
The time the job step is scheduled to be completed.
-
getTimeFinished
public Date getTimeFinished()
The time the job step was finished.
-
-