Interface OperationResultBuilder
- All Known Implementing Classes:
OperationResult
public interface OperationResultBuilder
Used to postpone initialization of OperationResult until parameters and context items are set - in order to log
operation entry correctly.
Operation names are not "builder-style" but let's ignore this for the moment. This is to simplify the implementation;
can be fixed later.
-
Method Summary
Modifier and TypeMethodDescriptionaddArbitraryObjectAsContext
(String name, Object value) addArbitraryObjectAsParam
(String paramName, Object paramValue) addArbitraryObjectCollectionAsContext
(String paramName, Collection<?> paramValue) addArbitraryObjectCollectionAsParam
(String name, Collection<?> value) addContext
(String name, boolean value) addContext
(String name, int value) addContext
(String name, long value) addContext
(String name, ObjectDelta<?> value) addContext
(String name, PolyString value) addContext
(String name, PrismObject<? extends ObjectType> value) addContext
(String name, ObjectQuery value) addContext
(String name, ObjectType value) addContext
(String name, Class<?> value) addContext
(String name, String value) addContext
(String name, String... values) addContext
(String name, QName value) addParam
(String name, ObjectDelta<?> value) addParam
(String name, PolyString value) addParam
(String name, PrismObject<? extends ObjectType> value) addParam
(String name, ObjectQuery value) addParam
(String name, ObjectType value) addQualifier
(String value) build()
preserve()
setMinor()
tracingProfile
(CompiledTracingProfile profile)
-
Method Details
-
build
OperationResult build() -
addQualifier
-
addParam
-
addParam
-
addParam
-
addParam
-
addParam
-
addParam
-
addParam
-
addParam
-
addParam
-
addParam
-
addParam
-
addParam
-
addArbitraryObjectAsParam
-
addArbitraryObjectCollectionAsParam
-
addContext
-
addContext
-
addContext
-
addContext
-
addContext
-
addContext
-
addContext
-
addContext
-
addContext
-
addContext
-
addContext
-
addContext
-
addArbitraryObjectAsContext
-
addArbitraryObjectCollectionAsContext
OperationResultBuilder addArbitraryObjectCollectionAsContext(String paramName, Collection<?> paramValue) -
setMinor
OperationResultBuilder setMinor() -
setImportance
-
tracingProfile
-
operationKind
-
preserve
OperationResultBuilder preserve()
-