Class RoleDefinition.RoleDefinitionEntry
java.lang.Object
org.jenkinsci.plugins.rolestrategy.casc.RoleDefinition.RoleDefinitionEntry
- All Implemented Interfaces:
Comparable<RoleDefinition.RoleDefinitionEntry>
- Enclosing class:
- RoleDefinition
public static class RoleDefinition.RoleDefinitionEntry
extends Object
implements Comparable<RoleDefinition.RoleDefinitionEntry>
Maps a permission entry to the casc line.
-
Constructor Details
-
RoleDefinitionEntry
@DataBoundConstructor public RoleDefinitionEntry()
-
-
Method Details
-
setUser
-
setGroup
-
setEither
-
getUser
-
getGroup
-
getEither
-
asPermissionEntry
-
fromPermissionEntry
Creates a RoleDefinitionEntry from a PermissionNetry.- Parameters:
entry
-PermissionEntry
- Returns:
- RoleDefinitionEntry
-
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareTo
in interfaceComparable<RoleDefinition.RoleDefinitionEntry>
-