@Extension public class SpotinstTokenConfig extends GlobalConfiguration
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
ExtensionPoint.LegacyInstancesAreScopedToHudson
clazz
Constructor and Description |
---|
SpotinstTokenConfig() |
Modifier and Type | Method and Description |
---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json) |
ListBoxModel |
doFillCredentialsIdItems(ItemGroup context) |
FormValidation |
doValidateCredentialsStoreToken(String credentialsId,
String accountId) |
FormValidation |
doValidateToken(String spotinstToken,
String accountId) |
String |
getAccountId() |
String |
getCredentialsId() |
String |
getCredentialsMethod() |
String |
getSpotinstToken() |
void |
setAccountId(String accountId) |
void |
setCredentialsId(String credentialsId) |
void |
setCredentialsMethod(String credentialsMethod) |
void |
setSpotinstToken(String spotinstToken) |
all, getDescriptor, getGlobalConfigPage
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, 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
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json)
configure
in class GlobalConfiguration
public FormValidation doValidateCredentialsStoreToken(@QueryParameter(value="credentialsId") String credentialsId, @QueryParameter(value="accountId") String accountId)
public FormValidation doValidateToken(@QueryParameter(value="spotinstToken") String spotinstToken, @QueryParameter(value="accountId") String accountId)
public String getSpotinstToken()
public String getAccountId()
public void setSpotinstToken(String spotinstToken)
public void setAccountId(String accountId)
public void setCredentialsMethod(String credentialsMethod)
public String getCredentialsMethod()
public void setCredentialsId(String credentialsId)
public String getCredentialsId()
public ListBoxModel doFillCredentialsIdItems(@AncestorInPath ItemGroup context)
Copyright © 2016–2024. All rights reserved.