Package sh.createos.jenkins.sandbox
Class CreateOSDiskAttachment.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<CreateOSDiskAttachment>
sh.createos.jenkins.sandbox.CreateOSDiskAttachment.DescriptorImpl
- Enclosing class:
CreateOSDiskAttachment
@Extension
public static class CreateOSDiskAttachment.DescriptorImpl
extends Descriptor<CreateOSDiskAttachment>
Exposes disk attachment metadata and validation to Jenkins.
-
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoCheckMountPath(String value) Validates that the mount path is absolute.doCheckSubPath(String value) Validates that the optional sub-path stays within the disk prefix.Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, configure, doHelp, 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, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayNamein classDescriptor<CreateOSDiskAttachment>
-
doCheckMountPath
Validates that the mount path is absolute. -
doCheckSubPath
Validates that the optional sub-path stays within the disk prefix.
-