Class InstanceConfiguration.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<InstanceConfiguration>
com.google.jenkins.plugins.computeengine.InstanceConfiguration.DescriptorImpl
- Enclosing class:
- InstanceConfiguration
@Extension
public static final class InstanceConfiguration.DescriptorImpl
extends Descriptor<InstanceConfiguration>
-
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
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
static String
static String
static NetworkConfiguration
static String
static String
static SshConfiguration
static WindowsConfiguration
doCheckBootDiskSizeGbStr
(Jenkins context, String value, String projectId, String imageName, String credentialsId) doCheckCreateSnapshot
(Jenkins context, boolean value, boolean oneShot) doCheckDescription
(String value) doCheckLabelString
(String value, Node.Mode mode) doCheckMachineType
(String value) doCheckNamePrefix
(String value) doCheckNetworkTags
(String value) doCheckNumExecutorsStr
(Jenkins context, String value, boolean oneShot) doCheckRegion
(String value) doCheckZone
(String value) doFillBootDiskSourceImageNameItems
(Jenkins context, String projectId, String credentialsId) doFillBootDiskSourceImageProjectItems
(Jenkins context, String projectId) doFillBootDiskTypeItems
(Jenkins context, String projectId, String zone, String credentialsId) doFillMachineTypeItems
(Jenkins context, String projectId, String zone, String credentialsId) doFillMinCpuPlatformItems
(Jenkins context, String projectId, String zone, String credentialsId) doFillRegionItems
(Jenkins context, String projectId, String credentialsId) doFillTemplateItems
(Jenkins context, String projectId, String credentialsId) doFillZoneItems
(Jenkins context, String projectId, String region, String credentialsId) getHelpFile
(String fieldName) static void
setComputeClient
(com.google.cloud.graphite.platforms.plugin.client.ComputeClient client) Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, 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
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
setComputeClient
public static void setComputeClient(com.google.cloud.graphite.platforms.plugin.client.ComputeClient client) -
defaultRetentionTimeMinutes
-
defaultLaunchTimeoutSeconds
-
defaultBootDiskSizeGb
-
defaultBootDiskAutoDelete
-
defaultRunAsUser
-
defaultWindowsConfiguration
-
defaultSshConfiguration
-
defaultNetworkConfiguration
-
getHelpFile
- Overrides:
getHelpFile
in classDescriptor<InstanceConfiguration>
-
getNetworkConfigurationDescriptors
public List<NetworkConfiguration.NetworkConfigurationDescriptor> getNetworkConfigurationDescriptors() -
doCheckNetworkTags
-
doCheckNamePrefix
-
doCheckDescription
-
doFillRegionItems
public ListBoxModel doFillRegionItems(@AncestorInPath Jenkins context, @QueryParameter("projectId") @RelativePath("..") String projectId, @QueryParameter("credentialsId") @RelativePath("..") String credentialsId) -
doFillTemplateItems
public ListBoxModel doFillTemplateItems(@AncestorInPath Jenkins context, @QueryParameter("projectId") @RelativePath("..") String projectId, @QueryParameter("credentialsId") @RelativePath("..") String credentialsId) -
doCheckRegion
-
doFillZoneItems
public ListBoxModel doFillZoneItems(@AncestorInPath Jenkins context, @QueryParameter("projectId") @RelativePath("..") String projectId, @QueryParameter("region") String region, @QueryParameter("credentialsId") @RelativePath("..") String credentialsId) -
doCheckZone
-
doFillMachineTypeItems
public ListBoxModel doFillMachineTypeItems(@AncestorInPath Jenkins context, @QueryParameter("projectId") @RelativePath("..") String projectId, @QueryParameter("zone") String zone, @QueryParameter("credentialsId") @RelativePath("..") String credentialsId) -
doCheckMachineType
-
doFillMinCpuPlatformItems
public ListBoxModel doFillMinCpuPlatformItems(@AncestorInPath Jenkins context, @QueryParameter("projectId") @RelativePath("..") String projectId, @QueryParameter("zone") String zone, @QueryParameter("credentialsId") @RelativePath("..") String credentialsId) -
doFillBootDiskTypeItems
public ListBoxModel doFillBootDiskTypeItems(@AncestorInPath Jenkins context, @QueryParameter("projectId") @RelativePath("..") String projectId, @QueryParameter("zone") String zone, @QueryParameter("credentialsId") @RelativePath("..") String credentialsId) -
doFillBootDiskSourceImageProjectItems
public ListBoxModel doFillBootDiskSourceImageProjectItems(@AncestorInPath Jenkins context, @QueryParameter("projectId") @RelativePath("..") String projectId) -
doCheckBootDiskSourceImageProject
-
doFillBootDiskSourceImageNameItems
public ListBoxModel doFillBootDiskSourceImageNameItems(@AncestorInPath Jenkins context, @QueryParameter("bootDiskSourceImageProject") String projectId, @QueryParameter("credentialsId") @RelativePath("..") String credentialsId) -
doCheckBootDiskSourceImageName
-
doCheckBootDiskSizeGbStr
public FormValidation doCheckBootDiskSizeGbStr(@AncestorInPath Jenkins context, @QueryParameter String value, @QueryParameter("bootDiskSourceImageProject") String projectId, @QueryParameter("bootDiskSourceImageName") String imageName, @QueryParameter("credentialsId") @RelativePath("..") String credentialsId) -
doCheckLabelString
public FormValidation doCheckLabelString(@QueryParameter String value, @QueryParameter Node.Mode mode) -
doCheckCreateSnapshot
public FormValidation doCheckCreateSnapshot(@AncestorInPath Jenkins context, @QueryParameter boolean value, @QueryParameter("oneShot") boolean oneShot) -
doCheckNumExecutorsStr
public FormValidation doCheckNumExecutorsStr(@AncestorInPath Jenkins context, @QueryParameter String value, @QueryParameter("oneShot") boolean oneShot) -
getNetworkInterfaceIpStackModeDescriptors
-