Class ProjectionContextFilter
java.lang.Object
com.evolveum.midpoint.model.api.context.ProjectionContextFilter
- All Implemented Interfaces:
DebugDumpable,HumanReadableDescribable,ShortDumpable,Serializable,Cloneable
@Experimental
public class ProjectionContextFilter
extends Object
implements Serializable, DebugDumpable, ShortDumpable, HumanReadableDescribable, Cloneable
Used to find a matching projection context.
Originally, `ResourceShadowDiscriminator` (now removed) was used for this purpose. Also,
ProjectionContextKey can
be used; but this class provides more explicit filtering behavior.
Null values here mean "does not matter". An exception is tag where the null value meaning is determined
by nullTagMeansAny.- See Also:
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING -
Constructor Summary
ConstructorsConstructorDescriptionProjectionContextFilter(@Nullable String resourceOid, @Nullable ShadowKindType kind, @Nullable String intent) By not specifying the tag the caller says it does not matter.ProjectionContextFilter(@Nullable String resourceOid, @Nullable ShadowKindType kind, @Nullable String intent, @Nullable String tag) By specifying the tag the caller indicates it wants the exact match. -
Method Summary
Modifier and TypeMethodDescriptionclone()debugDump(int indent) @Nullable BooleangetGone()@Nullable String@Nullable ShadowKindTypegetKind()@Nullable String@Nullable StringgetTag()booleanmatches(@NotNull ProjectionContextKey key) voidShow the content of the object intended for diagnostics.voidshortDump(StringBuilder sb, boolean writeOid) toHumanReadableDescription(boolean writeOid) toString()Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazilyMethods inherited from interface com.evolveum.midpoint.util.ShortDumpable
shortDump, shortDumpLazily
-
Constructor Details
-
ProjectionContextFilter
public ProjectionContextFilter(@Nullable @Nullable String resourceOid, @Nullable @Nullable ShadowKindType kind, @Nullable @Nullable String intent, @Nullable @Nullable String tag) By specifying the tag the caller indicates it wants the exact match. -
ProjectionContextFilter
public ProjectionContextFilter(@Nullable @Nullable String resourceOid, @Nullable @Nullable ShadowKindType kind, @Nullable @Nullable String intent) By not specifying the tag the caller says it does not matter.
-
-
Method Details
-
getResourceOid
-
getKind
-
getIntent
-
getTag
-
getGone
-
gone
-
matches
-
toString
-
shortDump
Description copied from interface:ShortDumpableShow the content of the object intended for diagnostics. This method is supposed to append a compact, human-readable output in a single line. Unlike toString() method, there is no requirement to identify the actual class or type of the object. It is assumed that the class/type will be obvious from the context in which the output is used.- Specified by:
shortDumpin interfaceShortDumpable- Parameters:
sb- StringBuilder to which to a compact one-line content of the object intended for diagnostics by system administrator should be appended.
-
shortDump
-
toHumanReadableDescription
- Specified by:
toHumanReadableDescriptionin interfaceHumanReadableDescribable
-
toHumanReadableDescription
-
debugDump
- Specified by:
debugDumpin interfaceDebugDumpable
-
clone
-