@Extension public class AdvisorGlobalConfiguration extends ManagementLink implements Describable<AdvisorGlobalConfiguration>, ExtensionPoint, Saveable, OnMaster
| Modifier and Type | Class and Description |
|---|---|
static class |
AdvisorGlobalConfiguration.DescriptorImpl |
ExtensionPoint.LegacyInstancesAreScopedToHudson| Modifier and Type | Field and Description |
|---|---|
static String |
INVALID_CONFIGURATION |
static String |
PLUGIN_NAME |
static String |
SEND_ALL_COMPONENTS |
static String |
SERVICE_OPERATIONAL |
LIST| Constructor and Description |
|---|
AdvisorGlobalConfiguration() |
AdvisorGlobalConfiguration(String email,
List<Recipient> ccs,
Set<String> excludedComponents) |
| Modifier and Type | Method and Description |
|---|---|
org.kohsuke.stapler.HttpResponse |
doConfigure(org.kohsuke.stapler.StaplerRequest req)
Handles the form submission
|
String |
getActionDisclaimer() |
String |
getActionTitle() |
String |
getCategoryName()
Name of the category for this management link.
|
List<Recipient> |
getCcs() |
List<com.cloudbees.jenkins.support.api.Component> |
getComponents() |
String |
getDescription() |
Descriptor<AdvisorGlobalConfiguration> |
getDescriptor() |
String |
getDisclaimer() |
String |
getDisplayName() |
String |
getEmail() |
Set<String> |
getExcludedComponents() |
String |
getIconFileName() |
List<com.cloudbees.jenkins.support.api.Component> |
getIncludedComponents() |
static AdvisorGlobalConfiguration |
getInstance() |
String |
getLastBundleResult() |
String |
getUrlName() |
boolean |
isAcceptToS() |
boolean |
isNagDisabled() |
boolean |
isValid() |
static boolean |
isValid(boolean logErrors,
boolean acceptToS,
String email,
List<Recipient> ccs) |
void |
load() |
protected Object |
readResolve() |
void |
save() |
boolean |
selectedByDefault(com.cloudbees.jenkins.support.api.Component c) |
void |
setAcceptToS(boolean acceptToS) |
void |
setCcs(List<Recipient> ccs) |
void |
setEmail(String email) |
void |
setExcludedComponents(Set<String> excludedComponents) |
void |
setLastBundleResult(String lastBundleResult) |
void |
setNagDisabled(boolean nagDisabled) |
all, getRequiredPermission, getRequiresConfirmation, getRequiresPOSTpublic static final String PLUGIN_NAME
public static final String SEND_ALL_COMPONENTS
public static final String INVALID_CONFIGURATION
public static final String SERVICE_OPERATIONAL
public static AdvisorGlobalConfiguration getInstance()
@CheckForNull public String getIconFileName()
getIconFileName in interface ActiongetIconFileName in class ManagementLink@CheckForNull public String getUrlName()
getUrlName in interface ActiongetUrlName in class ManagementLink@CheckForNull public String getDisplayName()
getDisplayName in interface ActiongetDisplayName in interface ModelObject@Nonnull public String getCategoryName()
@CheckForNull public String getDescription()
getDescription in class ManagementLinkpublic String getActionTitle()
public String getActionDisclaimer()
public String getDisclaimer()
public boolean isNagDisabled()
@DataBoundSetter public void setNagDisabled(boolean nagDisabled)
public boolean isAcceptToS()
@DataBoundSetter public void setAcceptToS(boolean acceptToS)
public String getLastBundleResult()
@DataBoundSetter public void setLastBundleResult(String lastBundleResult)
protected Object readResolve()
@Nonnull @Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public org.kohsuke.stapler.HttpResponse doConfigure(@Nonnull org.kohsuke.stapler.StaplerRequest req)
req - the request.public Descriptor<AdvisorGlobalConfiguration> getDescriptor()
getDescriptor in interface Describable<AdvisorGlobalConfiguration>public String getEmail()
@DataBoundSetter public void setEmail(@CheckForNull String email)
@DataBoundSetter public void setExcludedComponents(Set<String> excludedComponents)
public List<com.cloudbees.jenkins.support.api.Component> getIncludedComponents()
public boolean selectedByDefault(com.cloudbees.jenkins.support.api.Component c)
public List<com.cloudbees.jenkins.support.api.Component> getComponents()
public boolean isValid()
public static boolean isValid(boolean logErrors,
boolean acceptToS,
String email,
List<Recipient> ccs)
public void load()
Copyright © 2016–2020. All rights reserved.