@Extension public class AdobeIOConfig extends GlobalConfiguration
Descriptor.FormException, Descriptor.PropertyType, Descriptor.SelfExtensionPoint.LegacyInstancesAreScopedToHudson| Modifier and Type | Field and Description |
|---|---|
static String |
CLOUD_MANAGER_CONFIGURATION_ID |
clazz| Constructor and Description |
|---|
AdobeIOConfig() |
AdobeIOConfig(List<AdobeIOProjectConfig> projectConfigs) |
| Modifier and Type | Method and Description |
|---|---|
static AdobeIOConfig |
configuration()
Helper for looking up this configuration, protecting against null.
|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json) |
String |
getDisplayName() |
String |
getId()
To avoid long class name as id in xml tag name and config file
|
List<AdobeIOProjectConfig> |
getProjectConfigs() |
String |
getWebhookUrl() |
boolean |
isWebhookEnabled() |
static AdobeIOProjectConfig |
projectConfigFor(String name)
Helper to find an AIO Project config based on a name.
|
void |
setProjectConfigs(List<AdobeIOProjectConfig> projectConfigs) |
void |
setWebhookEnabled(boolean webhookEnabled) |
all, getDescriptor, getGlobalConfigPageaddHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic static final String CLOUD_MANAGER_CONFIGURATION_ID
public AdobeIOConfig()
public AdobeIOConfig(@Nonnull List<AdobeIOProjectConfig> projectConfigs)
@Nonnull public static AdobeIOConfig configuration()
@CheckForNull public static AdobeIOProjectConfig projectConfigFor(@Nonnull String name)
Name must match exactly.
Useful for checking after restarts or for long running builds.
name - the name of the AIO Project Config@Nonnull public List<AdobeIOProjectConfig> getProjectConfigs()
@DataBoundSetter public void setProjectConfigs(@Nonnull List<AdobeIOProjectConfig> projectConfigs)
public boolean isWebhookEnabled()
@DataBoundSetter public void setWebhookEnabled(boolean webhookEnabled)
public String getWebhookUrl()
public String getId()
getId in class Descriptor<GlobalConfiguration>public String getDisplayName()
getDisplayName in class Descriptor<GlobalConfiguration>public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json)
throws Descriptor.FormException
configure in class GlobalConfigurationDescriptor.FormExceptionCopyright © 2020–2021 Adobe Inc. All rights reserved.