Class AclLine
- java.lang.Object
-
- org.apache.sling.repoinit.parser.operations.AclLine
-
@ProviderType public class AclLine extends java.lang.Object
A single "set ACL" or "remove ACL" line
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AclLine.Action
-
Field Summary
Fields Modifier and Type Field Description static char
ID_DELIMINATOR
static java.lang.String
PATH_HOME
static java.lang.String
PATH_REPOSITORY
static java.lang.String
PROP_NODETYPES
static java.lang.String
PROP_PATHS
static java.lang.String
PROP_PRINCIPALS
static java.lang.String
PROP_PRIVILEGES
static char
SUBTREE_DELIMINATOR
-
Constructor Summary
Constructors Constructor Description AclLine(AclLine.Action a)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AclLine.Action
getAction()
java.util.List<java.lang.String>
getProperty(java.lang.String name)
Return the named multi-value property, or an empty list if not found.java.util.List<RestrictionClause>
getRestrictions()
void
setProperty(java.lang.String name, java.util.List<java.lang.String> values)
void
setRestrictions(java.util.List<RestrictionClause> restrictions)
java.lang.String
toString()
-
-
-
Field Detail
-
PROP_PATHS
public static final java.lang.String PROP_PATHS
- See Also:
- Constant Field Values
-
PROP_PRINCIPALS
public static final java.lang.String PROP_PRINCIPALS
- See Also:
- Constant Field Values
-
PROP_PRIVILEGES
public static final java.lang.String PROP_PRIVILEGES
- See Also:
- Constant Field Values
-
PROP_NODETYPES
public static final java.lang.String PROP_NODETYPES
- See Also:
- Constant Field Values
-
PATH_REPOSITORY
public static final java.lang.String PATH_REPOSITORY
- See Also:
- Constant Field Values
-
PATH_HOME
public static final java.lang.String PATH_HOME
- See Also:
- Constant Field Values
-
ID_DELIMINATOR
public static final char ID_DELIMINATOR
- See Also:
- Constant Field Values
-
SUBTREE_DELIMINATOR
public static final char SUBTREE_DELIMINATOR
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AclLine
public AclLine(AclLine.Action a)
-
-
Method Detail
-
getAction
public AclLine.Action getAction()
-
getProperty
public java.util.List<java.lang.String> getProperty(java.lang.String name)
Return the named multi-value property, or an empty list if not found.- Parameters:
name
- the property to get the value of- Returns:
- the value of the property.
-
setProperty
public void setProperty(java.lang.String name, java.util.List<java.lang.String> values)
-
setRestrictions
public void setRestrictions(java.util.List<RestrictionClause> restrictions)
-
getRestrictions
public java.util.List<RestrictionClause> getRestrictions()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-