Class PermissionFinder
java.lang.Object
org.jenkinsci.plugins.matrixauth.integrations.PermissionFinder
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public class PermissionFinder
extends Object
Implements lookup for 
Permissions.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic PermissionfindPermission(String id) Attempt to match a given permission to what is defined in the UI.static StringAttempt to match a given permission to what is defined in the UI.
- 
Constructor Details- 
PermissionFinderpublic PermissionFinder()
 
- 
- 
Method Details- 
findPermissionAttempt to match a given permission to what is defined in the UI.- Parameters:
- id- String of the form "Title/Permission" (Look in the UI) for a particular permission
- Returns:
- a matched permission
 
- 
findPermissionIdAttempt to match a given permission to what is defined in the UI.- Parameters:
- id- String of the form "Title/Permission" (Look in the UI) for a particular permission
- Returns:
- a matched permission ID
 
 
-