Class CandidateOwners
java.lang.Object
com.evolveum.midpoint.model.api.correlator.CandidateOwners
- All Implemented Interfaces:
DebugDumpable
,Serializable
Collection of (unique) candidate owners. When adding an owner that's already there, we just update the record.
For objects, the OID is the primary key.
For all other values, the whole value is the key.
- See Also:
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
debugDump
(int indent) static CandidateOwners
from
(Collection<? extends CandidateOwner> source) boolean
isEmpty()
@NotNull Collection<CandidateOwner.ObjectBased>
void
put
(@NotNull Containerable candidate, @Nullable String externalId, double confidence) void
putObject
(@NotNull ObjectType candidate, @Nullable String externalId, double confidence) void
putValue
(@NotNull Containerable value, @Nullable String externalId, double confidence) void
replaceWith
(CandidateOwners other) selectWithConfidenceAtLeast
(double threshold) @NotNull Collection<CandidateOwner>
values()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Constructor Details
-
CandidateOwners
public CandidateOwners()
-
-
Method Details
-
from
-
put
public void put(@NotNull @NotNull Containerable candidate, @Nullable @Nullable String externalId, double confidence) -
putObject
public void putObject(@NotNull @NotNull ObjectType candidate, @Nullable @Nullable String externalId, double confidence) -
putValue
public void putValue(@NotNull @NotNull Containerable value, @Nullable @Nullable String externalId, double confidence) -
values
-
objectBasedValues
-
isEmpty
public boolean isEmpty() -
getCandidateOids
-
selectWithConfidenceAtLeast
-
debugDump
- Specified by:
debugDump
in interfaceDebugDumpable
-
clear
public void clear() -
replaceWith
-