@Extension @ExportedBean public class SupportAction extends Object implements RootAction, org.kohsuke.stapler.StaplerProxy
Modifier and Type | Class and Description |
---|---|
static class |
SupportAction.Selection |
ExtensionPoint.LegacyInstancesAreScopedToHudson
Modifier and Type | Field and Description |
---|---|
static Permission |
CREATE_BUNDLE |
Constructor and Description |
---|
SupportAction() |
Modifier and Type | Method and Description |
---|---|
void |
doDeleteBundles(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp) |
void |
doDownload(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Generates a support bundle with selected components from the UI.
|
void |
doDownloadBundles(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp) |
void |
doGenerateAllBundles(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Generates a support bundle with selected components from the UI.
|
void |
doGenerateBundle(String components,
org.kohsuke.stapler.StaplerResponse rsp)
Generates a support bundle with only requested components.
|
org.jvnet.localizer.Localizable |
getActionBlurb() |
org.jvnet.localizer.Localizable |
getActionTitle() |
String |
getActionTitleText() |
Api |
getApi()
Remote API access.
|
List<String> |
getBundles() |
List<Component> |
getComponents() |
String |
getDisplayName() |
String |
getIconFileName() |
Object |
getTarget() |
String |
getUrlName() |
boolean |
isAnonymized() |
boolean |
selectedByDefault(Component c) |
public static final Permission CREATE_BUNDLE
@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public Object getTarget()
getTarget
in interface org.kohsuke.stapler.StaplerProxy
public String getIconFileName()
getIconFileName
in interface Action
public String getDisplayName()
getDisplayName
in interface Action
getDisplayName
in interface ModelObject
public String getUrlName()
getUrlName
in interface Action
public String getActionTitleText()
public org.jvnet.localizer.Localizable getActionTitle()
public org.jvnet.localizer.Localizable getActionBlurb()
public final Api getApi()
public boolean isAnonymized()
public void doDeleteBundles(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws javax.servlet.ServletException, IOException
javax.servlet.ServletException
IOException
public void doDownloadBundles(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws javax.servlet.ServletException, IOException
javax.servlet.ServletException
IOException
public void doDownload(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws javax.servlet.ServletException, IOException
req
- The stapler requestrsp
- The stapler responsejavax.servlet.ServletException
- If an error occurred during form submissionIOException
- If an input or output exception occurspublic void doGenerateAllBundles(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws javax.servlet.ServletException, IOException
req
- The stapler requestrsp
- The stapler responsejavax.servlet.ServletException
- If an error occurred during form submissionIOException
- If an input or output exception occurspublic void doGenerateBundle(@QueryParameter(value="components") String components, org.kohsuke.stapler.StaplerResponse rsp) throws IOException
components
- component names separated by comma.rsp
- The stapler responseIOException
- If an input or output exception occurspublic boolean selectedByDefault(Component c)
Copyright © 2016–2022. All rights reserved.