public static enum Segment.Kind extends java.lang.Enum<Segment.Kind>
Enum Constant and Description |
---|
And
Composite segment kind which holds references to child segments in the children property.
|
ClientOnly
Segment kind which signals that the segment could not be properly represented on the server side.
|
Direct
Segment kind which should be directly evaluated based on its name/operator/value combination.
|
ExternalReference
Segment kind which is a reference to a segment defined in an external system
|
Or
Composite segment kind which holds references to child segments in the children property.
|
Modifier and Type | Method and Description |
---|---|
static Segment.Kind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Segment.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Segment.Kind And
The top-level segment is evaluated to true only if all child segments evaluate to true.
public static final Segment.Kind Or
The top-level segment is evaluated to true only if any of its child segments evaluate to true.
public static final Segment.Kind Direct
public static final Segment.Kind ExternalReference
public static final Segment.Kind ClientOnly
Instead of being defined by its name/operator/value combination, this segment contains its JCR repository path in the value property. Typical example of this kind of segment is a segment which contains a script trait.
public static Segment.Kind[] values()
for (Segment.Kind c : Segment.Kind.values()) System.out.println(c);
public static Segment.Kind valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2010 - 2020 Adobe. All Rights Reserved