@Extension public class AdvisorGlobalConfiguration extends hudson.model.ManagementLink implements hudson.model.Describable<AdvisorGlobalConfiguration>, hudson.ExtensionPoint, hudson.model.Saveable, jenkins.util.io.OnMaster
Modifier and Type | Class and Description |
---|---|
static class |
AdvisorGlobalConfiguration.DescriptorImpl |
Modifier and Type | Field and Description |
---|---|
static String |
INVALID_CONFIGURATION |
static String |
PLUGIN_NAME |
static String |
SEND_ALL_COMPONENTS |
static String |
SERVICE_OPERATIONAL |
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() |
List<Recipient> |
getCcs() |
List<com.cloudbees.jenkins.support.api.Component> |
getComponents() |
String |
getDescription() |
hudson.model.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) |
public 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 hudson.model.Action
getIconFileName
in class hudson.model.ManagementLink
@CheckForNull public String getUrlName()
getUrlName
in interface hudson.model.Action
getUrlName
in class hudson.model.ManagementLink
@CheckForNull public String getDisplayName()
getDisplayName
in interface hudson.model.Action
getDisplayName
in interface hudson.model.ModelObject
@CheckForNull public String getDescription()
getDescription
in class hudson.model.ManagementLink
public 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 hudson.model.Descriptor<AdvisorGlobalConfiguration> getDescriptor()
getDescriptor
in interface hudson.model.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 save()
save
in interface hudson.model.Saveable
public void load()
Copyright © 2016–2020. All rights reserved.