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
Modifier and TypeClassDescriptionstatic enum
There are some basic kinds of activities relevant for progress reporting.static enum
We usually report on entering and exiting a particular activity. -
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Constructor Summary
ConstructorDescriptionProgressInformation
(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) void
setActivityType
(ProgressInformation.ActivityType activityType) void
setMessage
(String message) void
setOperationResult
(OperationResult operationResult) void
setProjectionContextKey
(ProjectionContextKey projectionContextKey) void
setStateType
(ProgressInformation.StateType stateType) toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
debugDump
in interfaceDebugDumpable
-
toString
-