Constructor and Description |
---|
PermissionEntry(AuthorizationType type,
String sid) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static PermissionEntry |
fromString(String permissionEntryString) |
String |
getSid() |
AuthorizationType |
getType() |
static PermissionEntry |
group(String sid) |
int |
hashCode() |
protected boolean |
isApplicable(boolean principal)
Utility method checking whether this entry applies based on whether we're looking for a principal
|
String |
toString() |
static PermissionEntry |
user(String sid) |
public PermissionEntry(@NonNull AuthorizationType type, @NonNull String sid)
public AuthorizationType getType()
public String getSid()
protected boolean isApplicable(boolean principal)
@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) @CheckForNull public static PermissionEntry fromString(@NonNull String permissionEntryString)
public static PermissionEntry user(String sid)
public static PermissionEntry group(String sid)
Copyright © 2016–2022. All rights reserved.