|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectflux.security.Privilege
public final class Privilege
Defines a privilege for a security role. A privilege determines what actions a user can perform against an engine, the cluster, and the Operations Console.
| Constructor Summary | |
|---|---|
Privilege(PrivilegeType privilegeType)
Creates a permission to perform a certain function based on the specified type of privilege. |
|
| Method Summary | |
|---|---|
int |
compareTo(Privilege that)
|
boolean |
equals(java.lang.Object o)
|
java.util.SortedSet<AccessibleActionVariable> |
getActionVariables()
Returns action variables used by some permission types. |
java.util.SortedSet<AccessibleFlowChartVariable> |
getFlowChartVariables()
Returns flow chart variables used by some permission types. |
java.util.SortedSet<java.lang.String> |
getNamespaces()
Returns namespaces used by some permission types. |
PrivilegeType |
getType()
Returns the underlying privilege type for this privilege. |
int |
hashCode()
|
void |
setActionVariables(AccessibleActionVariable... actionVariables)
Sets action variables used by some permission types. |
void |
setFlowChartVariables(AccessibleFlowChartVariable... flowChartVariables)
Sets flow chart variables used by some permission types. |
void |
setNamespaces(java.lang.String... namespaces)
Sets namespaces used by some permission types. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Privilege(PrivilegeType privilegeType)
privilegeType - The type of permission that this privilege grants.| Method Detail |
|---|
public java.util.SortedSet<AccessibleActionVariable> getActionVariables()
public java.util.SortedSet<AccessibleFlowChartVariable> getFlowChartVariables()
public java.util.SortedSet<java.lang.String> getNamespaces()
public PrivilegeType getType()
public void setActionVariables(AccessibleActionVariable... actionVariables)
actionVariables - Action variables used by some permission types.public void setFlowChartVariables(AccessibleFlowChartVariable... flowChartVariables)
flowChartVariables - Flow chart variables used by some permission types.public void setNamespaces(java.lang.String... namespaces)
namespaces - Namespaces used by some permission types.public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(Privilege that)
compareTo in interface java.lang.Comparable<Privilege>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||