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 -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringstatic Stringstatic Stringstatic NetworkConfigurationstatic Stringstatic Stringstatic SshConfigurationstatic Stringstatic Stringstatic WindowsConfigurationdoCheckActiveFrom(String value) doCheckActiveTo(String value) 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) doCheckMinimumNumberOfInstances(String value, String instanceCapStr) doCheckMinimumNumberOfSpareInstances(String value, String instanceCapStr) doCheckMonday(boolean monday, boolean tuesday, boolean wednesday, boolean thursday, boolean friday, boolean saturday, boolean sunday) 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(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 voidsetComputeClient(com.google.cloud.graphite.platforms.plugin.client.ComputeClient client) 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, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, 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
-
setComputeClient
public static void setComputeClient(com.google.cloud.graphite.platforms.plugin.client.ComputeClient client) -
defaultRetentionTimeMinutes
-
defaultLaunchTimeoutSeconds
-
defaultBootDiskSizeGb
-
defaultBootDiskAutoDelete
-
defaultRunAsUser
-
defaultWindowsConfiguration
-
defaultSshConfiguration
-
defaultProvisioningType
-
defaultNetworkConfiguration
-
defaultStartupScriptExitReporterLinux
-
defaultStartupScriptExitReporterWindows
-
getHelpFile
- Overrides:
getHelpFilein 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 ComboBoxModel doFillBootDiskSourceImageProjectItems(@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) -
doCheckMinimumNumberOfInstances
public FormValidation doCheckMinimumNumberOfInstances(@QueryParameter String value, @QueryParameter("instanceCapStr") @RelativePath("..") String instanceCapStr) -
doCheckMinimumNumberOfSpareInstances
public FormValidation doCheckMinimumNumberOfSpareInstances(@QueryParameter String value, @QueryParameter("instanceCapStr") @RelativePath("..") String instanceCapStr) -
doCheckActiveFrom
-
doCheckActiveTo
-
doCheckMonday
public FormValidation doCheckMonday(@QueryParameter boolean monday, @QueryParameter boolean tuesday, @QueryParameter boolean wednesday, @QueryParameter boolean thursday, @QueryParameter boolean friday, @QueryParameter boolean saturday, @QueryParameter boolean sunday) -
doCheckStartupScriptExitReporterLinux
-
doCheckStartupScriptExitReporterWindows
-
getProvisioningTypes
-
getNetworkInterfaceIpStackModeDescriptors
-