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
Nested Classes -
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING -
Method Summary
Modifier and TypeMethodDescriptiondebugDump(int indent) static CompleteCorrelationResultstatic CompleteCorrelationResultexistingOwner(@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 ResourceObjectOwnerOptionsTypebooleanisDone()booleanisError()booleanbooleanbooleanstatic CompleteCorrelationResultnoOwner()voidThrows aCommonExceptionor aRuntimeException, if the state is "error".toString()static CompleteCorrelationResultuncertain(@NotNull CandidateOwners candidateOwners, @NotNull ResourceObjectOwnerOptionsType optionsBean) Methods inherited from class com.evolveum.midpoint.model.api.correlation.AbstractCorrelationResult
getOwner, getSituationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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 aCommonExceptionor 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.
-