Class CompleteCorrelationResult
java.lang.Object
com.evolveum.midpoint.model.api.correlation.CompleteCorrelationResult
- All Implemented Interfaces:
DebugDumpable
,Serializable
Result of a correlation operation.
TODO find a better name
- See Also:
-
Nested Class Summary
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Method Summary
Modifier and TypeMethodDescriptiondebugDump
(int indent) static CompleteCorrelationResult
static CompleteCorrelationResult
existingOwner
(@NotNull ObjectType owner, @Nullable CandidateOwnersMap candidateOwnersMap, @Nullable ResourceObjectOwnerOptionsType optionsBean) <F extends ObjectType>
@NotNull List<F>getAllCandidates
(@NotNull Class<F> focusType) Returns all candidates of given type.@Nullable CandidateOwnersMap
@Nullable String
@Nullable ObjectType
getOwner()
@Nullable ResourceObjectOwnerOptionsType
@NotNull CorrelationSituationType
boolean
isDone()
boolean
isError()
boolean
boolean
boolean
static CompleteCorrelationResult
noOwner()
void
Throws aCommonException
or aRuntimeException
, if the state is "error".toString()
static CompleteCorrelationResult
uncertain
(@NotNull CandidateOwnersMap candidateOwnersMap, @NotNull ResourceObjectOwnerOptionsType optionsBean) 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
-
Method Details
-
existingOwner
public static CompleteCorrelationResult existingOwner(@NotNull @NotNull ObjectType owner, @Nullable @Nullable CandidateOwnersMap candidateOwnersMap, @Nullable @Nullable ResourceObjectOwnerOptionsType optionsBean) -
noOwner
-
uncertain
public static CompleteCorrelationResult uncertain(@NotNull @NotNull CandidateOwnersMap candidateOwnersMap, @NotNull @NotNull ResourceObjectOwnerOptionsType optionsBean) -
error
-
getSituation
-
getOwner
-
getCandidateOwnersMap
-
getOwnerOptions
-
isUncertain
public boolean isUncertain() -
isError
public boolean isError() -
isExistingOwner
public boolean isExistingOwner() -
isNoOwner
public boolean isNoOwner() -
isDone
public boolean isDone() -
debugDump
- Specified by:
debugDump
in interfaceDebugDumpable
-
toString
-
throwCommonOrRuntimeExceptionIfPresent
Throws aCommonException
or aRuntimeException
, if the state is "error". Normally returns otherwise.- Throws:
CommonException
-
getErrorMessage
-
getAllCandidates
@Experimental @NotNull public <F extends ObjectType> @NotNull List<F> getAllCandidates(@NotNull @NotNull Class<F> focusType) Returns all candidates of given type. Not supported if the result is taken from the shadow.
-