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
Constructors Constructor Description DescriptorImpl()
-
Method Summary
-
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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
setComputeClient
public static void setComputeClient(com.google.cloud.graphite.platforms.plugin.client.ComputeClient client)
-
defaultRetentionTimeMinutes
public static String defaultRetentionTimeMinutes()
-
defaultLaunchTimeoutSeconds
public static String defaultLaunchTimeoutSeconds()
-
defaultBootDiskSizeGb
public static String defaultBootDiskSizeGb()
-
defaultBootDiskAutoDelete
public static String defaultBootDiskAutoDelete()
-
defaultRunAsUser
public static String defaultRunAsUser()
-
defaultWindowsConfiguration
public static WindowsConfiguration defaultWindowsConfiguration()
-
defaultSshConfiguration
public static SshConfiguration defaultSshConfiguration()
-
defaultNetworkConfiguration
public static NetworkConfiguration defaultNetworkConfiguration()
-
getHelpFile
public String getHelpFile(String fieldName)
- Overrides:
getHelpFile
in classDescriptor<InstanceConfiguration>
-
getNetworkConfigurationDescriptors
public List<NetworkConfiguration.NetworkConfigurationDescriptor> getNetworkConfigurationDescriptors()
-
doCheckNetworkTags
public FormValidation doCheckNetworkTags(@QueryParameter String value)
-
doCheckNamePrefix
public FormValidation doCheckNamePrefix(@QueryParameter String value)
-
doCheckDescription
public FormValidation doCheckDescription(@QueryParameter String value)
-
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
public FormValidation doCheckRegion(@QueryParameter String value)
-
doFillZoneItems
public ListBoxModel doFillZoneItems(@AncestorInPath Jenkins context, @QueryParameter("projectId") @RelativePath("..") String projectId, @QueryParameter("region") String region, @QueryParameter("credentialsId") @RelativePath("..") String credentialsId)
-
doCheckZone
public FormValidation doCheckZone(@QueryParameter String value)
-
doFillMachineTypeItems
public ListBoxModel doFillMachineTypeItems(@AncestorInPath Jenkins context, @QueryParameter("projectId") @RelativePath("..") String projectId, @QueryParameter("zone") String zone, @QueryParameter("credentialsId") @RelativePath("..") String credentialsId)
-
doCheckMachineType
public FormValidation doCheckMachineType(@QueryParameter String value)
-
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
public FormValidation doCheckBootDiskSourceImageProject(@QueryParameter String value)
-
doFillBootDiskSourceImageNameItems
public ListBoxModel doFillBootDiskSourceImageNameItems(@AncestorInPath Jenkins context, @QueryParameter("bootDiskSourceImageProject") String projectId, @QueryParameter("credentialsId") @RelativePath("..") String credentialsId)
-
doCheckBootDiskSourceImageName
public FormValidation doCheckBootDiskSourceImageName(@QueryParameter String value)
-
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
public List<NetworkInterfaceIpStackMode.Descriptor> getNetworkInterfaceIpStackModeDescriptors()
-
-