Package hudson.model
Class Slave.SlaveDescriptor
- Direct Known Subclasses:
DumbSlave.DescriptorImpl
- Enclosing class:
Slave
-
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
ALLFields inherited from class hudson.model.Descriptor
clazz -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal List<Descriptor<ComputerLauncher>> Returns the list ofComputerLauncherdescriptors appropriate to the suppliedSlave.doCheckNumExecutors(String value) doCheckRemoteFS(String value) Performs syntactical check on the remote FS for agents.final List<NodePropertyDescriptor> Returns the list ofNodePropertyDescriptorappropriate to the suppliedSlave.final List<Descriptor<RetentionStrategy<?>>> Returns the list ofRetentionStrategydescriptors appropriate to the suppliedSlave.Methods inherited from class hudson.slaves.NodeDescriptor
all, allInstantiable, doCheckName, getConfigPage, handleNewNodePage, isInstantiable, newInstanceDetailPageMethods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, configure, doHelp, 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, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
SlaveDescriptor
public SlaveDescriptor()
-
-
Method Details
-
doCheckNumExecutors
-
doCheckRemoteFS
Performs syntactical check on the remote FS for agents.- Throws:
IOException
-
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
-