public class SecurityRule
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SecurityRule.ComparisonType
Security comparison types.
|
Constructor and Description |
---|
SecurityRule() |
Modifier and Type | Method and Description |
---|---|
static java.util.Collection<java.lang.String> |
commaDelimitedListToSecurityAttributes(java.lang.String attributes)
Convert attributes from comma separated String to Collection
|
java.util.Collection<java.lang.String> |
getAttributes()
Gets the security attributes.
|
SecurityRule.ComparisonType |
getComparisonType()
Gets the comparison type.
|
java.lang.String |
getExpression()
Gets the security expression.
|
static java.lang.String |
securityAttributesToCommaDelimitedList(java.util.Collection<?> attributes)
Convert attributes to comma separated String
|
void |
setAttributes(java.util.Collection<java.lang.String> attributes)
Sets the security attributes.
|
void |
setComparisonType(SecurityRule.ComparisonType comparisonType)
Sets the comparison type.
|
void |
setExpression(java.lang.String expression)
Sets the security expression.
|
java.lang.String |
toString() |
public static java.lang.String securityAttributesToCommaDelimitedList(java.util.Collection<?> attributes)
attributes
- the attributes to convertpublic static java.util.Collection<java.lang.String> commaDelimitedListToSecurityAttributes(java.lang.String attributes)
attributes
- the attributes to convertpublic java.util.Collection<java.lang.String> getAttributes()
public void setAttributes(java.util.Collection<java.lang.String> attributes)
attributes
- the new security attributespublic SecurityRule.ComparisonType getComparisonType()
public void setComparisonType(SecurityRule.ComparisonType comparisonType)
comparisonType
- the new comparison typepublic java.lang.String getExpression()
public void setExpression(java.lang.String expression)
expression
- the new security expressionpublic java.lang.String toString()
toString
in class java.lang.Object