Package com.evolveum.midpoint.schema.result
package com.evolveum.midpoint.schema.result
-
ClassDescriptionInterface that provide ability to query status of asynchronous operation.Primary goal of this class is to support asynchronous operations.This may seems too simple and maybe pointless now.Provides rich information about an operation being executed; mainly for the sake of error reporting and functional/performance troubleshooting. == Information Collected There is a lot of information collected, but the following properties are the most important: - result *status* (
OperationResultStatus
): success, partial/fatal error, warning, ..., along with an optional *message* and *Java exception*, - operation invocation *parameters*, *return value(s)*, and sometimes information about the execution *context* (e.g. implementation class name), - *performance-related information*, like start/end timestamps, or duration (for performance diagnostics), -TraceType
records (for troubleshooting), - *logfile lines* produced during the operation execution (for troubleshooting).Used to postpone initialization of OperationResult until parameters and context items are set - in order to log operation entry correctly.