Interface Policy
-
- All Superinterfaces:
com.dtolabs.rundeck.core.authorization.AclRuleSetSource
- All Known Implementing Classes:
YamlParsePolicy
public interface Policy extends com.dtolabs.rundeck.core.authorization.AclRuleSetSourcePolicy is contains a set ofRuleSetConstructorwith corresponding usernames and/or groups associated with the each Acl. The policy is a reference to a phycial policy stored on persistantly.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetDescription()com.dtolabs.rundeck.core.authorization.providers.EnvironmentalContextgetEnvironment()java.util.Set<java.lang.String>getGroups()Return a list of group objects associated with this policy.java.util.Set<java.lang.String>getUrns()Return a list of urns objects associated with this policy.java.util.Set<java.lang.String>getUsernames()Return a list of usernames as strings associated with this policy.booleanisBy()
-
-
-
Method Detail
-
getUsernames
java.util.Set<java.lang.String> getUsernames()
Return a list of usernames as strings associated with this policy.- Returns:
- usernames
-
getGroups
java.util.Set<java.lang.String> getGroups()
Return a list of group objects associated with this policy.- Returns:
- groups
-
getUrns
java.util.Set<java.lang.String> getUrns()
Return a list of urns objects associated with this policy.- Returns:
- groups
-
getEnvironment
com.dtolabs.rundeck.core.authorization.providers.EnvironmentalContext getEnvironment()
- Returns:
- the environmental context to test the Policy against an input environment
-
getDescription
java.lang.String getDescription()
- Returns:
- description of the policy
-
isBy
boolean isBy()
-
-