Package hudson.slaves
Class CommandLauncher.DescriptorVisibilityFilterForceSandBox
java.lang.Object
hudson.model.DescriptorVisibilityFilter
hudson.slaves.CommandLauncher.DescriptorVisibilityFilterForceSandBox
- All Implemented Interfaces:
ExtensionPoint
- Enclosing class:
- CommandLauncher
@Extension
public static class CommandLauncher.DescriptorVisibilityFilterForceSandBox
extends DescriptorVisibilityFilter
In case the flag
ScriptApproval.isForceSandboxForCurrentUser()
is true, we don't show the descriptor
for the current user, except if we are editing a node that already has the launcher CommandLauncher
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
filter
(Object context, Descriptor descriptor) boolean
filterType
(Class<?> contextClass, Descriptor descriptor) Methods inherited from class hudson.model.DescriptorVisibilityFilter
all, apply, applyType
-
Constructor Details
-
DescriptorVisibilityFilterForceSandBox
public DescriptorVisibilityFilterForceSandBox()
-
-
Method Details
-
filter
- Specified by:
filter
in classDescriptorVisibilityFilter
-
filterType
- Overrides:
filterType
in classDescriptorVisibilityFilter
-