Package hudson.model
Class Slave.SlaveDescriptor
- java.lang.Object
-
- hudson.model.Descriptor<Node>
-
- hudson.slaves.NodeDescriptor
-
- hudson.model.Slave.SlaveDescriptor
-
- Direct Known Subclasses:
DumbSlave.DescriptorImpl
- Enclosing class:
- Slave
public abstract static class Slave.SlaveDescriptor extends NodeDescriptor
-
-
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.slaves.NodeDescriptor
ALL
-
Fields inherited from class hudson.model.Descriptor
clazz
-
-
Constructor Summary
Constructors Constructor Description SlaveDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Descriptor<ComputerLauncher>>computerLauncherDescriptors(Slave it)Returns the list ofComputerLauncherdescriptors appropriate to the suppliedSlave.FormValidationdoCheckNumExecutors(String value)FormValidationdoCheckRemoteFS(String value)Performs syntactical check on the remote FS for agents.List<NodePropertyDescriptor>nodePropertyDescriptors(Slave it)Returns the list ofNodePropertyDescriptorappropriate to the suppliedSlave.List<Descriptor<RetentionStrategy<?>>>retentionStrategyDescriptors(Slave it)Returns the list ofRetentionStrategydescriptors appropriate to the suppliedSlave.-
Methods inherited from class hudson.slaves.NodeDescriptor
all, allInstantiable, doCheckName, getConfigPage, handleNewNodePage, isInstantiable, newInstanceDetailPage
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
doCheckNumExecutors
public FormValidation doCheckNumExecutors(@QueryParameter String value)
-
doCheckRemoteFS
public FormValidation doCheckRemoteFS(@QueryParameter String value) throws IOException, javax.servlet.ServletException
Performs syntactical check on the remote FS for agents.- Throws:
IOExceptionjavax.servlet.ServletException
-
computerLauncherDescriptors
@NonNull @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public final List<Descriptor<ComputerLauncher>> computerLauncherDescriptors(@CheckForNull Slave it)
Returns the list ofComputerLauncherdescriptors appropriate to the suppliedSlave.- Parameters:
it- theSlaveornullto assume the agent is of typeDescriptor.clazz.- Returns:
- the filtered list
- Since:
- 2.12
-
retentionStrategyDescriptors
@NonNull @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public final List<Descriptor<RetentionStrategy<?>>> retentionStrategyDescriptors(@CheckForNull Slave it)
Returns the list ofRetentionStrategydescriptors appropriate to the suppliedSlave.- Parameters:
it- theSlaveornullto assume the slave is of typeDescriptor.clazz.- Returns:
- the filtered list
- Since:
- 2.12
-
nodePropertyDescriptors
@NonNull @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public final List<NodePropertyDescriptor> nodePropertyDescriptors(@CheckForNull Slave it)
Returns the list ofNodePropertyDescriptorappropriate to the suppliedSlave.- Parameters:
it- theSlaveornullto assume the agent is of typeDescriptor.clazz.- Returns:
- the filtered list
- Since:
- 2.12
-
-