Class OtherActivityState
java.lang.Object
com.evolveum.midpoint.repo.common.activity.run.state.ActivityState
com.evolveum.midpoint.repo.common.activity.run.state.OtherActivityState
- All Implemented Interfaces:
DebugDumpable
State of activity not connected to the current activity run.
Does not maintain live progress/statistics and assumes that the work state was already created.
(Otherwise it cannot use it.)
-
Field Summary
Fields inherited from class com.evolveum.midpoint.repo.common.activity.run.state.ActivityState
beansFields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING -
Constructor Summary
ConstructorsConstructorDescriptionOtherActivityState(@NotNull Task task, @NotNull TaskActivityStateType taskActivityState, @NotNull ActivityPath activityPath, @Nullable QName workStateTypeName) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddebugDumpExtra(StringBuilder sb, int indent) @NotNull ActivityPath@NotNull TaskgetTask()@Nullable ComplexTypeDefinitionstatic @NotNull OtherActivityStateof(@NotNull Task task, @NotNull ActivityPath activityPath) Convenience method that createsActivityStatefor arbitrary task and activity within it.static @NotNull OtherActivityStateof(@NotNull TaskType taskBean, @NotNull ActivityPath activityPath, @NotNull OperationResult result) toString()Methods inherited from class com.evolveum.midpoint.repo.common.activity.run.state.ActivityState
addDeleteItemRealValues, debugDump, flushPendingTaskModifications, flushPendingTaskModificationsChecked, getAbortingInformation, getAbortingInformationRequired, getAbortingWorkerRef, getActivityStateDownwards, getActivityStatesUpwardsForParent, getActivityStateUpwards, getBucketProcessingRole, getCounters, getCurrentActivityStateInParentTask, getEnhancedClassName, getExecutionAttempt, getParentActivityState, getPropertyRealValue, getRawRunRecordsClone, getRealizationStartTimestamp, getRealizationState, getRestartPolicyActionRequired, getResultStatus, getSimulationResultOid, getSimulationResultRef, getWorkStateItemRealValueClone, getWorkStatePropertyRealValue, getWorkStateReferenceRealValue, getWorkStateReferenceRealValues, incrementCounters, isAborted, isBeingRestarted, isBeingRestartedOrSkipped, isBeingSkipped, isBucketedWorkAborted, isBucketedWorkComplete, isComplete, isDelegating, isScavenger, isSimulationResultCreated, isWorker, setAbortingWorkerRef, setBucketProcessingRole, setItemRealValues, setItemRealValuesCollection, setSimulationResultCreated, setSimulationResultOid, setWorkStateItemRealValues, setWorkStateItemRealValues, updatePoliciesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Constructor Details
-
OtherActivityState
public OtherActivityState(@NotNull @NotNull Task task, @NotNull @NotNull TaskActivityStateType taskActivityState, @NotNull @NotNull ActivityPath activityPath, @Nullable @Nullable QName workStateTypeName)
-
-
Method Details
-
of
@NotNull public static @NotNull OtherActivityState of(@NotNull @NotNull Task task, @NotNull @NotNull ActivityPath activityPath) Convenience method that createsActivityStatefor arbitrary task and activity within it. -
of
@NotNull public static @NotNull OtherActivityState of(@NotNull @NotNull TaskType taskBean, @NotNull @NotNull ActivityPath activityPath, @NotNull @NotNull OperationResult result) throws SchemaException - Throws:
SchemaException
-
getTask
- Specified by:
getTaskin classActivityState
-
getActivityPath
- Specified by:
getActivityPathin classActivityState
-
debugDumpExtra
- Specified by:
debugDumpExtrain classActivityState
-
getWorkStateComplexTypeDefinition
- Specified by:
getWorkStateComplexTypeDefinitionin classActivityState
-
toString
- Overrides:
toStringin classActivityState
-