Class CompleteCorrelationResult
java.lang.Object
com.evolveum.midpoint.model.api.correlation.AbstractCorrelationResult<ObjectType>
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 CandidateOwners candidateOwners, @Nullable ResourceObjectOwnerOptionsType optionsBean) <F extends ObjectType>
@NotNull List<F>getAllCandidates
(@NotNull Class<F> focusType) Returns all candidates of given type.@Nullable CandidateOwners
@Nullable String
@Nullable ResourceObjectOwnerOptionsType
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 CandidateOwners candidateOwners, @NotNull ResourceObjectOwnerOptionsType optionsBean) Methods inherited from class com.evolveum.midpoint.model.api.correlation.AbstractCorrelationResult
getOwner, getSituation
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 CandidateOwners candidateOwners, @Nullable @Nullable ResourceObjectOwnerOptionsType optionsBean) -
noOwner
-
uncertain
public static CompleteCorrelationResult uncertain(@NotNull @NotNull CandidateOwners candidateOwners, @NotNull @NotNull ResourceObjectOwnerOptionsType optionsBean) -
error
-
getCandidateOwnersMap
-
getOwnerOptions
-
isUncertain
public boolean isUncertain() -
isError
public boolean isError() -
isExistingOwner
public boolean isExistingOwner() -
isNoOwner
public boolean isNoOwner() -
isDone
public boolean isDone() -
debugDump
-
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.
-