Package com.microsoft.jenkins.azuread
Class AuthorizationProperty.DslEntry
java.lang.Object
com.microsoft.jenkins.azuread.AuthorizationProperty.DslEntry
- All Implemented Interfaces:
Describable<AuthorizationProperty.DslEntry>
,Comparable<AuthorizationProperty.DslEntry>
- Direct Known Subclasses:
AuthorizationProperty.DslGroup
,AuthorizationProperty.DslUser
,AuthorizationProperty.DslUserOrGroup
- Enclosing interface:
- AuthorizationProperty
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public abstract static class AuthorizationProperty.DslEntry
extends Object
implements Describable<AuthorizationProperty.DslEntry>, Comparable<AuthorizationProperty.DslEntry>
Common superclass for
AuthorizationProperty.DslUser
, AuthorizationProperty.DslGroup
, and AuthorizationProperty.DslUserOrGroup
, supporting nicer DSLs
for Job DSL and Pipeline Job definitions/reconfigurations.
Job DSL and Pipeline use this for AuthorizationMatrixProperty
.
Job DSL additionally uses this for AuthorizationMatrixProperty
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
addPermission
(AuthorizationProperty authorizationProperty) int
boolean
protected static Permission
findPermission
(String value) getName()
int
hashCode()
-
Constructor Details
-
DslEntry
- Parameters:
name
- the sid of the DSL entitypermissions
- the list of string-typed permissions
-
-
Method Details
-
getName
-
getPermissions
-
getDescriptor
- Specified by:
getDescriptor
in interfaceDescribable<AuthorizationProperty.DslEntry>
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<AuthorizationProperty.DslEntry>
-
addPermission
-
findPermission
-