Class JobStep
public class JobStep
extends java.lang.Object
Provide a Job Step value object class.
- Since:
- 5.0.0
Field Summary
FieldsModifier and Type | Field | Description |
---|---|---|
java.lang.Long |
currentJobActionId |
The current job action id (PK). |
java.lang.Long |
expiryServiceId |
The job step expiry service id (PK). |
java.lang.Long |
id |
The job step record (PK). |
boolean |
isAllFormsEditable |
The all forms editable option. |
boolean |
isDynamicPreConditions |
The dynamic pre-conditions option. |
boolean |
isShareExtractData |
The share form data extracts between step forms option. |
boolean |
isShareFormData |
The share form XML data between step forms option. |
boolean |
isShowPreviousForms |
The show previous step forms option. |
java.util.List<JobAction> |
jobActions |
The job step actions. |
java.lang.String |
name |
The job step name. |
java.lang.String |
nextStepName |
The next job step name. |
java.lang.String |
status |
The job step status. |
static java.lang.String |
STATUS_CANCELLED |
The job step "Cancelled" status. |
static java.lang.String |
STATUS_COMPLETED |
The job step "Completed" status. |
static java.lang.String |
STATUS_EXPIRED |
The job step "Expired" status. |
static java.lang.String |
STATUS_IN_PROGRESS |
The job step "In Progress" status. |
java.util.Date |
timeCompletionScheduled |
The time the job step is scheduled to be completed. |
java.util.Date |
timeCreated |
The time the job step was created. |
java.util.Date |
timeFinished |
The time the job step was finished. |
java.lang.String |
type |
The job step type. |
Constructor Summary
ConstructorsConstructor | Description |
---|---|
JobStep(com.avoka.fc.core.entity.JobStep jobStep) |
Create a Job Step value object with the given job step entity parameter. |
JobStep(java.util.Map fields) |
Create a unit testing JobStep value object with the given fields. |
Method Summary
All Methods Instance Methods Concrete MethodsModifier and Type | Method | Description |
---|---|---|
java.lang.String |
toString() |
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait,
wait
Field Detail
STATUS_CANCELLED
public static final java.lang.String STATUS_CANCELLED
The job step "Cancelled" status.
- See Also:
- Constant Field Values
STATUS_COMPLETED
public static final java.lang.String STATUS_COMPLETED
The job step "Completed" status.
- See Also:
- Constant Field Values
STATUS_EXPIRED
public static final java.lang.String STATUS_EXPIRED
The job step "Expired" status.
- See Also:
- Constant Field Values
STATUS_IN_PROGRESS
public static final java.lang.String STATUS_IN_PROGRESS
The job step "In Progress" status.
- See Also:
- Constant Field Values
id
public final java.lang.Long id
The job step record (PK).
name
public final java.lang.String name
The job step name.
type
public final java.lang.String type
The job step type.
status
public final java.lang.String status
The job step status.
currentJobActionId
public final java.lang.Long currentJobActionId
The current job action id (PK).
expiryServiceId
public final java.lang.Long expiryServiceId
The job step expiry service id (PK).
isAllFormsEditable
public final boolean isAllFormsEditable
The all forms editable option.
isDynamicPreConditions
public final boolean isDynamicPreConditions
The dynamic pre-conditions option.
isShareExtractData
public final boolean isShareExtractData
The share form data extracts between step forms option.
isShareFormData
public final boolean isShareFormData
The share form XML data between step forms option.
isShowPreviousForms
public final boolean isShowPreviousForms
The show previous step forms option.
nextStepName
public final java.lang.String nextStepName
The next job step name.
timeCreated
public final java.util.Date timeCreated
The time the job step was created.
timeCompletionScheduled
public final java.util.Date timeCompletionScheduled
The time the job step is scheduled to be completed.
timeFinished
public final java.util.Date timeFinished
The time the job step was finished.
jobActions
public java.util.List<JobAction> jobActions
The job step actions.
Constructor Detail
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(java.util.Map fields)
Create a unit testing JobStep value object with the given fields.
- Parameters:
fields
- the submission entity fields (required)- Since:
- 5.1.4
Method Detail
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
- Returns:
- a string representation of the object.