Class WavefrontJobProperty<T extends Job<?,?>>
- java.lang.Object
-
- hudson.model.JobProperty<T>
-
- com.vmware.devops.plugins.wavefront.WavefrontJobProperty<T>
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<JobProperty<?>>
,ReconfigurableDescribable<JobProperty<?>>
,BuildStep
public class WavefrontJobProperty<T extends Job<?,?>> extends JobProperty<T>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WavefrontJobProperty.WavefrontJobPropertyDescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from class hudson.model.JobProperty
owner
-
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
-
Constructor Summary
Constructors Constructor Description WavefrontJobProperty()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getJobParameters()
boolean
isEnableSendingJacocoReportData()
boolean
isEnableSendingJobParameters()
boolean
isEnableSendingJunitReportData()
JobProperty<?>
reconfigure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject form)
This method is called whenever the Job form is saved.void
setEnableSendingJacocoReportData(boolean enableSendingJacocoReportData)
void
setEnableSendingJobParameters(boolean enableSendingJobParameters)
void
setEnableSendingJunitReportData(boolean enableSendingJunitReportData)
void
setJobParameters(String jobParameters)
-
Methods inherited from class hudson.model.JobProperty
getDescriptor, getJobAction, getJobActions, getJobOverrides, getProjectAction, getProjectActions, getRequiredMonitorService, getSubTasks, perform, prebuild, setOwner
-
-
-
-
Method Detail
-
isEnableSendingJunitReportData
public boolean isEnableSendingJunitReportData()
-
setEnableSendingJunitReportData
@DataBoundSetter public void setEnableSendingJunitReportData(boolean enableSendingJunitReportData)
- Parameters:
enableSendingJunitReportData
- - The configured checkbox in the job configuration
-
isEnableSendingJacocoReportData
public boolean isEnableSendingJacocoReportData()
-
setEnableSendingJacocoReportData
@DataBoundSetter public void setEnableSendingJacocoReportData(boolean enableSendingJacocoReportData)
- Parameters:
enableSendingJacocoReportData
- - The configured checkbox in the job configuration
-
isEnableSendingJobParameters
public boolean isEnableSendingJobParameters()
-
setEnableSendingJobParameters
@DataBoundSetter public void setEnableSendingJobParameters(boolean enableSendingJobParameters)
- Parameters:
enableSendingJobParameters
- - The configured checkbox in the job configuration
-
getJobParameters
public String getJobParameters()
-
setJobParameters
@DataBoundSetter public void setJobParameters(String jobParameters)
- Parameters:
jobParameters
- - The configured textarea in the job configuration
-
reconfigure
public JobProperty<?> reconfigure(org.kohsuke.stapler.StaplerRequest req, @Nonnull net.sf.json.JSONObject form) throws Descriptor.FormException
This method is called whenever the Job form is saved. We use the 'on' property to determine if the controls are selected.- Specified by:
reconfigure
in interfaceReconfigurableDescribable<T extends Job<?,?>>
- Overrides:
reconfigure
in classJobProperty<T extends Job<?,?>>
- Parameters:
req
- - The requestform
- - A JSONObject containing the submitted form data from the job configuration- Returns:
- a
JobProperty
object representing the tagging added to the job - Throws:
Descriptor.FormException
- if querying of form throws an error
-
-