Package org.jenkinsci.plugins.matrixauth
Class AuthorizationMatrixNodeProperty.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<P>
-
- hudson.tools.PropertyDescriptor<NodeProperty<?>,Node>
-
- hudson.slaves.NodePropertyDescriptor
-
- org.jenkinsci.plugins.matrixauth.AuthorizationMatrixNodeProperty.DescriptorImpl
-
- All Implemented Interfaces:
Saveable
,OnMaster
,AuthorizationContainerDescriptor
,AuthorizationPropertyDescriptor<AuthorizationMatrixNodeProperty>
- Enclosing class:
- AuthorizationMatrixNodeProperty
@Extension public static class AuthorizationMatrixNodeProperty.DescriptorImpl extends NodePropertyDescriptor implements AuthorizationPropertyDescriptor<AuthorizationMatrixNodeProperty>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
-
Field Summary
-
Fields inherited from class hudson.model.Descriptor
clazz
-
Fields inherited from interface org.jenkinsci.plugins.matrixauth.AuthorizationPropertyDescriptor
LOGGER
-
-
Constructor Summary
Constructors Constructor Description DescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthorizationMatrixNodeProperty
create()
FormValidation
doCheckName(Computer computer, String value)
String
getDisplayName()
PermissionScope
getPermissionScope()
boolean
isApplicable(Class<? extends Node> node)
AuthorizationMatrixNodeProperty
newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
-
Methods inherited from class hudson.slaves.NodePropertyDescriptor
isApplicableAsGlobal
-
Methods inherited from class hudson.tools.PropertyDescriptor
for_, for_
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jenkinsci.plugins.matrixauth.AuthorizationContainerDescriptor
doCheckName_, entryFor, getAllGroups, getDescription, getTypeLabel, hasAmbiguousEntries, impliedByList, showPermission
-
Methods inherited from interface org.jenkinsci.plugins.matrixauth.AuthorizationPropertyDescriptor
createNewInstance, isApplicable
-
-
-
-
Method Detail
-
create
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public AuthorizationMatrixNodeProperty create()
- Specified by:
create
in interfaceAuthorizationPropertyDescriptor<AuthorizationMatrixNodeProperty>
-
getPermissionScope
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public PermissionScope getPermissionScope()
- Specified by:
getPermissionScope
in interfaceAuthorizationContainerDescriptor
-
newInstance
public AuthorizationMatrixNodeProperty newInstance(org.kohsuke.stapler.StaplerRequest req, @NonNull net.sf.json.JSONObject formData) throws Descriptor.FormException
- Overrides:
newInstance
in classDescriptor<NodeProperty<?>>
- Throws:
Descriptor.FormException
-
isApplicable
public boolean isApplicable(Class<? extends Node> node)
- Overrides:
isApplicable
in classPropertyDescriptor<NodeProperty<?>,Node>
-
getDisplayName
@NonNull public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<NodeProperty<?>>
-
doCheckName
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public FormValidation doCheckName(@AncestorInPath Computer computer, @QueryParameter String value)
-
-