Package hudson.plugins.octopusdeploy
Class OctoInstallation.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<hudson.tools.ToolInstallation>
-
- hudson.tools.ToolDescriptor<OctoInstallation>
-
- hudson.plugins.octopusdeploy.OctoInstallation.DescriptorImpl
-
- All Implemented Interfaces:
hudson.model.Saveable
,jenkins.util.io.OnMaster
- Enclosing class:
- OctoInstallation
@Extension public static class OctoInstallation.DescriptorImpl extends hudson.tools.ToolDescriptor<OctoInstallation>
-
-
Constructor Summary
Constructors Constructor Description DescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
hudson.util.FormValidation
doCheckHome(java.io.File home)
Validate that the home is: - Not empty - A file pathjava.lang.String
getDisplayName()
OctoInstallation
getInstallation(java.lang.String name)
-
Methods inherited from class hudson.tools.ToolDescriptor
checkHomeDirectory, doCheckName, getCategory, getDefaultInstallers, getDefaultProperties, getInstallations, getPropertyDescriptors, setInstallations
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, 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, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
getDisplayName
public java.lang.String getDisplayName()
- Overrides:
getDisplayName
in classhudson.model.Descriptor<hudson.tools.ToolInstallation>
-
getInstallation
@Nullable public OctoInstallation getInstallation(java.lang.String name)
-
doCheckHome
public hudson.util.FormValidation doCheckHome(@QueryParameter java.io.File home)
Validate that the home is: - Not empty - A file path- Overrides:
doCheckHome
in classhudson.tools.ToolDescriptor<OctoInstallation>
- Parameters:
home
- the path of the file- Returns:
- Form validation to present on the Jenkins UI
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
- Overrides:
configure
in classhudson.tools.ToolDescriptor<OctoInstallation>
-
-