Package org.jenkinsci.plugins.proxmox
Class ProxmoxTemplate.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<ProxmoxTemplate>
org.jenkinsci.plugins.proxmox.ProxmoxTemplate.DescriptorImpl
- Enclosing class:
ProxmoxTemplate
-
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 TypeMethodDescriptiondoCheckInstanceMin(int value, int instanceCap) doCheckJavaMajorVersion(String value, String javaDistribution) doCheckNode(String value) doCheckTemplateVmId(int value) doFillNetworkBridgeItems(String node, String apiUrl, String credentialsId, boolean ignoreSslErrors) doFillNodeItems(String apiUrl, String credentialsId, boolean ignoreSslErrors) doFillTargetPoolItems(String apiUrl, String credentialsId, boolean ignoreSslErrors) doFillTargetStorageItems(String node, String apiUrl, String credentialsId, boolean ignoreSslErrors) doFillTemplateVmIdItems(String node, String apiUrl, String credentialsId, boolean ignoreSslErrors) newInstance(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject formData) 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, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayNamein classDescriptor<ProxmoxTemplate>
-
newInstance
public ProxmoxTemplate newInstance(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject formData) throws Descriptor.FormException - Overrides:
newInstancein classDescriptor<ProxmoxTemplate>- Throws:
Descriptor.FormException
-
doFillNodeItems
@POST public ListBoxModel doFillNodeItems(@RelativePath("..") @QueryParameter("apiUrl") String apiUrl, @RelativePath("..") @QueryParameter("credentialsId") String credentialsId, @RelativePath("..") @QueryParameter("ignoreSslErrors") boolean ignoreSslErrors) -
doFillTemplateVmIdItems
@POST public ListBoxModel doFillTemplateVmIdItems(@QueryParameter("node") String node, @RelativePath("..") @QueryParameter("apiUrl") String apiUrl, @RelativePath("..") @QueryParameter("credentialsId") String credentialsId, @RelativePath("..") @QueryParameter("ignoreSslErrors") boolean ignoreSslErrors) -
doFillTargetStorageItems
@POST public ListBoxModel doFillTargetStorageItems(@QueryParameter("node") String node, @RelativePath("..") @QueryParameter("apiUrl") String apiUrl, @RelativePath("..") @QueryParameter("credentialsId") String credentialsId, @RelativePath("..") @QueryParameter("ignoreSslErrors") boolean ignoreSslErrors) -
doFillNetworkBridgeItems
@POST public ListBoxModel doFillNetworkBridgeItems(@QueryParameter("node") String node, @RelativePath("..") @QueryParameter("apiUrl") String apiUrl, @RelativePath("..") @QueryParameter("credentialsId") String credentialsId, @RelativePath("..") @QueryParameter("ignoreSslErrors") boolean ignoreSslErrors) -
doFillTargetPoolItems
@POST public ListBoxModel doFillTargetPoolItems(@RelativePath("..") @QueryParameter("apiUrl") String apiUrl, @RelativePath("..") @QueryParameter("credentialsId") String credentialsId, @RelativePath("..") @QueryParameter("ignoreSslErrors") boolean ignoreSslErrors) -
doFillCredentialsIdItems
-
doCheckNode
-
doCheckTemplateVmId
-
doCheckInstanceMin
@POST public FormValidation doCheckInstanceMin(@QueryParameter int value, @QueryParameter int instanceCap) -
doFillJavaMajorVersionItems
-
doCheckJavaMajorVersion
@POST public FormValidation doCheckJavaMajorVersion(@QueryParameter String value, @QueryParameter String javaDistribution)
-