public class GuardDescriptor extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
expression |
protected Map<String,Guard> |
guards |
protected String |
id |
Constructor and Description |
---|
GuardDescriptor() |
GuardDescriptor(String name) |
Modifier and Type | Method and Description |
---|---|
String |
getExpression() |
Guard |
getGuard() |
Map<String,Guard> |
getGuards() |
String |
getId() |
Permission |
getPermission() |
void |
setExpression(String expression) |
protected void |
setGuards(DocumentFragment content) |
protected String expression
public GuardDescriptor()
public GuardDescriptor(String name)
public void setExpression(String expression)
expression
- the expression to set.public String getExpression()
protected void setGuards(DocumentFragment content)
public Guard getGuard() throws ParseException
ParseException
public Permission getPermission() throws ParseException
ParseException
Copyright © 2019 Nuxeo. All rights reserved.