Class WavefrontManagement
- java.lang.Object
-
- hudson.model.ManagementLink
-
- com.vmware.devops.plugins.wavefront.WavefrontManagement
-
- All Implemented Interfaces:
ExtensionPoint
,Action
,Describable<WavefrontManagement>
,ModelObject
,Saveable
,org.kohsuke.stapler.StaplerProxy
@Extension public class WavefrontManagement extends ManagementLink implements org.kohsuke.stapler.StaplerProxy, Describable<WavefrontManagement>, Saveable
Wavefront page under "Manage Jenkins" page.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WavefrontManagement.DescriptorImpl
Descriptor is only used for UI form bindings.-
Nested classes/interfaces inherited from class hudson.model.ManagementLink
ManagementLink.Category
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from class hudson.model.ManagementLink
LIST
-
-
Constructor Summary
Constructors Constructor Description WavefrontManagement()
WavefrontManagement(String proxyHostname)
-
Method Summary
-
Methods inherited from class hudson.model.ManagementLink
all, getCategory, getCategoryName, getRequiredPermission, getRequiresConfirmation, getRequiresPOST
-
-
-
-
Constructor Detail
-
WavefrontManagement
public WavefrontManagement() throws IOException
- Throws:
IOException
-
WavefrontManagement
@DataBoundConstructor public WavefrontManagement(String proxyHostname) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getProxyHostname
public String getProxyHostname()
-
setProxyHostname
public void setProxyHostname(String proxyHostname)
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
- Specified by:
getIconFileName
in classManagementLink
-
getUrlName
public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
- Specified by:
getUrlName
in classManagementLink
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getDescription
public String getDescription()
- Overrides:
getDescription
in classManagementLink
-
doConfigSubmit
public void doConfigSubmit(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws javax.servlet.ServletException, IOException, InterruptedException
Saves the form to the configuration and disk.- Parameters:
req
- StaplerRequestrsp
- StaplerResponse- Throws:
javax.servlet.ServletException
- if something unfortunate happens.IOException
- if something unfortunate happens.InterruptedException
-
save
public void save() throws IOException
- Specified by:
save
in interfaceSaveable
- Throws:
IOException
-
get
public static WavefrontManagement get()
-
getDescriptor
public WavefrontManagement.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<WavefrontManagement>
-
getConfigXml
public XmlFile getConfigXml()
-
getXmlFileName
protected String getXmlFileName()
-
getProxyPort
public int getProxyPort()
-
setProxyPort
public void setProxyPort(int proxyPort)
-
getFlushInterval
public int getFlushInterval()
-
setFlushInterval
public void setFlushInterval(int flushInterval)
-
getMetricsPrefixName
public String getMetricsPrefixName()
-
setMetricsPrefixName
public void setMetricsPrefixName(String metricsPrefixName)
-
getJobMetricsPrefixName
public String getJobMetricsPrefixName()
-
setJobMetricsPrefixName
public void setJobMetricsPrefixName(String jobMetricsPrefixName)
-
isEnableSendingJunitReportDataForAllJobs
public boolean isEnableSendingJunitReportDataForAllJobs()
-
setEnableSendingJunitReportDataForAllJobs
public void setEnableSendingJunitReportDataForAllJobs(boolean enableSendingJunitReportDataForAllJobs)
-
isEnableSendingJacocoReportDataForAllJobs
public boolean isEnableSendingJacocoReportDataForAllJobs()
-
setEnableSendingJacocoReportDataForAllJobs
public void setEnableSendingJacocoReportDataForAllJobs(boolean enableSendingJacocoReportDataForAllJobs)
-
isEnableSendingParametersAsTagsForAllJobs
public boolean isEnableSendingParametersAsTagsForAllJobs()
-
setEnableSendingParametersAsTagsForAllJobs
public void setEnableSendingParametersAsTagsForAllJobs(boolean enableSendingParametersAsTagsForAllJobs)
-
getTarget
public Object getTarget()
- Specified by:
getTarget
in interfaceorg.kohsuke.stapler.StaplerProxy
-
load
public void load()
-
-