Package com.evolveum.midpoint.model.api
Class ProgressInformation
java.lang.Object
com.evolveum.midpoint.model.api.ProgressInformation
- All Implemented Interfaces:
DebugDumpable,Serializable
Describes a state of the operation. Although theoretically everything relevant should be in the model context,
as a convenience for clients interpreting this structure we offer explicit denotation of specific events (see ActivityType).
HIGHLY EXPERIMENTAL. Probably should be refactored (e.g. by providing strong typing via class hierarchy).
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThere are some basic kinds of activities relevant for progress reporting.static enumWe usually report on entering and exiting a particular activity. -
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING -
Constructor Summary
ConstructorsConstructorDescriptionProgressInformation(ProgressInformation.ActivityType activityType, ProjectionContextKey projectionContextKey, ProgressInformation.StateType stateType) ProgressInformation(ProgressInformation.ActivityType activityType, ProjectionContextKey projectionContextKey, OperationResult operationResult) ProgressInformation(ProgressInformation.ActivityType activityType, ProgressInformation.StateType stateType) ProgressInformation(ProgressInformation.ActivityType activityType, ProgressInformation.StateType stateType, String message) ProgressInformation(ProgressInformation.ActivityType activityType, OperationResult operationResult) -
Method Summary
Modifier and TypeMethodDescriptiondebugDump(int indent) voidsetActivityType(ProgressInformation.ActivityType activityType) voidsetMessage(String message) voidsetOperationResult(OperationResult operationResult) voidsetProjectionContextKey(ProjectionContextKey projectionContextKey) voidsetStateType(ProgressInformation.StateType stateType) toString()Methods 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
-
ProgressInformation
public ProgressInformation(ProgressInformation.ActivityType activityType, ProgressInformation.StateType stateType) -
ProgressInformation
public ProgressInformation(ProgressInformation.ActivityType activityType, ProgressInformation.StateType stateType, String message) -
ProgressInformation
public ProgressInformation(ProgressInformation.ActivityType activityType, OperationResult operationResult) -
ProgressInformation
public ProgressInformation(ProgressInformation.ActivityType activityType, ProjectionContextKey projectionContextKey, ProgressInformation.StateType stateType) -
ProgressInformation
public ProgressInformation(ProgressInformation.ActivityType activityType, ProjectionContextKey projectionContextKey, OperationResult operationResult)
-
-
Method Details
-
getActivityType
-
setActivityType
-
getStateType
-
getOperationResult
-
setOperationResult
-
setStateType
-
getProjectionContextKey
-
setProjectionContextKey
-
getMessage
-
setMessage
-
debugDump
- Specified by:
debugDumpin interfaceDebugDumpable
-
toString
-