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
ConstructorDescriptionProjectionContextFilter
(@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 Boolean
getGone()
@Nullable String
@Nullable ShadowKindType
getKind()
@Nullable String
@Nullable String
getTag()
boolean
matches
(@NotNull ProjectionContextKey key) void
Show the content of the object intended for diagnostics.void
shortDump
(StringBuilder sb, boolean writeOid) toHumanReadableDescription
(boolean writeOid) toString()
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
Methods 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:ShortDumpable
Show 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:
shortDump
in 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:
toHumanReadableDescription
in interfaceHumanReadableDescribable
-
toHumanReadableDescription
-
debugDump
- Specified by:
debugDump
in interfaceDebugDumpable
-
clone
-