Package org.jenkinsci.plugins.matrixauth
Class PermissionEntry
java.lang.Object
org.jenkinsci.plugins.matrixauth.PermissionEntry
- All Implemented Interfaces:
Comparable<PermissionEntry>
Combines sid with
type
.- Since:
- 3.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
static PermissionEntry
fromString
(String permissionEntryString) getSid()
getType()
static PermissionEntry
int
hashCode()
protected boolean
isApplicable
(boolean principal) Utility method checking whether this entry applies based on whether we're looking for a principaltoString()
static PermissionEntry
-
Constructor Details
-
PermissionEntry
-
-
Method Details
-
getType
-
getSid
-
isApplicable
protected boolean isApplicable(boolean principal) Utility method checking whether this entry applies based on whether we're looking for a principal -
fromString
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) @CheckForNull public static PermissionEntry fromString(@NonNull String permissionEntryString) -
user
-
group
-
equals
-
hashCode
public int hashCode() -
toString
-
compareTo
- Specified by:
compareTo
in interfaceComparable<PermissionEntry>
-