Class AdvisorGlobalConfiguration
java.lang.Object
hudson.model.ManagementLink
com.cloudbees.jenkins.plugins.advisor.AdvisorGlobalConfiguration
- All Implemented Interfaces:
ExtensionPoint,Action,Describable<AdvisorGlobalConfiguration>,ModelObject,Saveable,OnMaster
@Extension
public class AdvisorGlobalConfiguration
extends ManagementLink
implements Describable<AdvisorGlobalConfiguration>, ExtensionPoint, Saveable, OnMaster
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class hudson.model.ManagementLink
ManagementLink.CategoryNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class hudson.model.ManagementLink
LIST -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionorg.kohsuke.stapler.HttpResponsedoConfigure(org.kohsuke.stapler.StaplerRequest2 req) Handles the form submissiongetCcs()List<com.cloudbees.jenkins.support.api.Component>getEmail()List<com.cloudbees.jenkins.support.api.Component>static AdvisorGlobalConfigurationbooleanbooleanbooleanisValid()static booleanvoidload()protected Objectvoidsave()booleanselectedByDefault(com.cloudbees.jenkins.support.api.Component c) voidsetAcceptToS(boolean acceptToS) voidvoidvoidsetExcludedComponents(Set<String> excludedComponents) voidsetLastBundleResult(String lastBundleResult) voidsetNagDisabled(boolean nagDisabled) Methods inherited from class hudson.model.ManagementLink
all, getBadge, getCategoryName, getRequiredPermission, getRequiresConfirmation, getRequiresPOST
-
Field Details
-
PLUGIN_NAME
- See Also:
-
SEND_ALL_COMPONENTS
- See Also:
-
INVALID_CONFIGURATION
- See Also:
-
SERVICE_OPERATIONAL
- See Also:
-
-
Constructor Details
-
AdvisorGlobalConfiguration
public AdvisorGlobalConfiguration() -
AdvisorGlobalConfiguration
-
-
Method Details
-
getInstance
-
getIconFileName
- Specified by:
getIconFileNamein interfaceAction- Specified by:
getIconFileNamein classManagementLink
-
getUrlName
- Specified by:
getUrlNamein interfaceAction- Specified by:
getUrlNamein classManagementLink
-
getDisplayName
- Specified by:
getDisplayNamein interfaceAction- Specified by:
getDisplayNamein interfaceModelObject
-
getCategory
- Overrides:
getCategoryin classManagementLink
-
getDescription
- Overrides:
getDescriptionin classManagementLink
-
getActionTitle
-
getActionDisclaimer
-
getDisclaimer
-
isNagDisabled
public boolean isNagDisabled() -
setNagDisabled
@DataBoundSetter public void setNagDisabled(boolean nagDisabled) -
isAcceptToS
public boolean isAcceptToS() -
setAcceptToS
@DataBoundSetter public void setAcceptToS(boolean acceptToS) -
getLastBundleResult
-
setLastBundleResult
-
readResolve
-
doConfigure
@Nonnull @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public org.kohsuke.stapler.HttpResponse doConfigure(@Nonnull org.kohsuke.stapler.StaplerRequest2 req) Handles the form submission- Parameters:
req- the request.- Returns:
- the response.
-
getDescriptor
- Specified by:
getDescriptorin interfaceDescribable<AdvisorGlobalConfiguration>
-
getEmail
-
setEmail
-
getCcs
-
setCcs
-
getExcludedComponents
-
setExcludedComponents
-
getIncludedComponents
-
selectedByDefault
public boolean selectedByDefault(com.cloudbees.jenkins.support.api.Component c) -
getComponents
-
isValid
public boolean isValid() -
isValid
-
save
public void save() -
load
public void load()
-