Package com.compuware.jenkins.build
Class CodeCoverageBuilder
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Builder
-
- com.compuware.jenkins.build.CodeCoverageBuilder
-
- All Implemented Interfaces:
hudson.ExtensionPoint
,hudson.model.Describable<hudson.tasks.Builder>
,hudson.tasks.BuildStep
,jenkins.tasks.SimpleBuildStep
public class CodeCoverageBuilder extends hudson.tasks.Builder implements jenkins.tasks.SimpleBuildStep
Captures the configuration information for a Code Coverage build step.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CodeCoverageBuilder.CodeCoverageDescriptorImpl
DescriptorImpl is used to create instances ofCodeCoverageBuilder
.-
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
hudson.tasks.BuildStep.PublisherList
-
-
Constructor Summary
Constructors Constructor Description CodeCoverageBuilder(String connectionId, String credentialsId, String analysisPropertiesPath, String analysisProperties)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAnalysisProperties()
Gets the value of the 'Analysis properties'.String
getAnalysisPropertiesPath()
Gets the value of the 'Path to analysis properties'.String
getConnectionId()
Gets the unique identifier of the 'Host connection'.String
getCredentialsId()
Gets the value of the 'Login credentials'.CodeCoverageBuilder.CodeCoverageDescriptorImpl
getDescriptor()
void
perform(hudson.model.Run<?,?> run, hudson.FilePath workspace, hudson.Launcher launcher, hudson.model.TaskListener listener)
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
-
-
-
-
Constructor Detail
-
CodeCoverageBuilder
@DataBoundConstructor public CodeCoverageBuilder(String connectionId, String credentialsId, String analysisPropertiesPath, String analysisProperties)
Constructor.- Parameters:
connectionId
- a unique host connection identifiercredentialsId
- unique id of the selected credentialanalysisPropertiesPath
- the path of Code Coverage analysis properties fileanalysisProperties
- the Code Coverage analysis properties
-
-
Method Detail
-
getConnectionId
public String getConnectionId()
Gets the unique identifier of the 'Host connection'.- Returns:
String
value of m_connectionId
-
getCredentialsId
public String getCredentialsId()
Gets the value of the 'Login credentials'.- Returns:
String
value of m_credentialsId
-
getAnalysisPropertiesPath
public String getAnalysisPropertiesPath()
Gets the value of the 'Path to analysis properties'.- Returns:
String
value of m_analysisPropertiesPath
-
getAnalysisProperties
public String getAnalysisProperties()
Gets the value of the 'Analysis properties'.- Returns:
String
value of m_analysisProperties
-
getDescriptor
public CodeCoverageBuilder.CodeCoverageDescriptorImpl getDescriptor()
- Specified by:
getDescriptor
in interfacehudson.model.Describable<hudson.tasks.Builder>
- Overrides:
getDescriptor
in classhudson.tasks.Builder
-
perform
public void perform(hudson.model.Run<?,?> run, hudson.FilePath workspace, hudson.Launcher launcher, hudson.model.TaskListener listener) throws InterruptedException, IOException
- Specified by:
perform
in interfacejenkins.tasks.SimpleBuildStep
- Throws:
InterruptedException
IOException
-
-