Class ApprovalProcessExecutionInformationDto
- java.lang.Object
-
- com.evolveum.midpoint.web.page.admin.workflow.dto.ApprovalProcessExecutionInformationDto
-
- All Implemented Interfaces:
Serializable
public class ApprovalProcessExecutionInformationDto extends Object implements Serializable
Extract from ApprovalSchemaExecutionInformationType that could be directly displayed via the GUI as "approval process preview" (either for the whole process or only the future stages).- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
F_PROCESS_NAME
static String
F_STAGES
static String
F_TARGET_NAME
static String
F_TRIGGERS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static @NotNull ApprovalProcessExecutionInformationDto
createFrom(ApprovalSchemaExecutionInformationType info, ObjectResolver resolver, boolean wholeProcess, Task opTask, OperationResult result)
int
getCurrentStageNumber()
int
getNumberOfStages()
String
getProcessName()
List<ApprovalStageExecutionInformationDto>
getStages()
String
getTargetName()
EvaluatedTriggerGroupDto
getTriggers()
boolean
isRunning()
boolean
isWholeProcess()
-
-
-
Field Detail
-
F_PROCESS_NAME
public static final String F_PROCESS_NAME
- See Also:
- Constant Field Values
-
F_TARGET_NAME
public static final String F_TARGET_NAME
- See Also:
- Constant Field Values
-
F_STAGES
public static final String F_STAGES
- See Also:
- Constant Field Values
-
F_TRIGGERS
public static final String F_TRIGGERS
- See Also:
- Constant Field Values
-
-
Method Detail
-
createFrom
@NotNull public static @NotNull ApprovalProcessExecutionInformationDto createFrom(ApprovalSchemaExecutionInformationType info, ObjectResolver resolver, boolean wholeProcess, Task opTask, OperationResult result)
-
isWholeProcess
public boolean isWholeProcess()
-
getCurrentStageNumber
public int getCurrentStageNumber()
-
getNumberOfStages
public int getNumberOfStages()
-
getStages
public List<ApprovalStageExecutionInformationDto> getStages()
-
getProcessName
public String getProcessName()
-
getTargetName
public String getTargetName()
-
isRunning
public boolean isRunning()
-
getTriggers
public EvaluatedTriggerGroupDto getTriggers()
-
-