Class PackageConfig
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<PackageConfig>
-
- de.tracetronic.jenkins.plugins.ecutest.test.config.PackageConfig
-
- All Implemented Interfaces:
ExpandableConfig
,Describable<PackageConfig>
,Serializable
public class PackageConfig extends AbstractDescribableImpl<PackageConfig> implements Serializable, ExpandableConfig
Class holding the package configuration.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PackageConfig.DescriptorImpl
DescriptorImpl forPackageConfig
.
-
Constructor Summary
Constructors Constructor Description PackageConfig(boolean runTest, boolean runTraceAnalysis)
Instantiates a newPackageConfig
with empty package parameters.PackageConfig(boolean runTest, boolean runTraceAnalysis, List<PackageParameter> parameters, List<PackageOutputParameter> outputParameters)
Instantiates a newPackageConfig
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
PackageConfig
expand(EnvVars envVars)
Expands the test configuration parameters by using the current build environment variables.List<PackageOutputParameter>
getOutputParameters()
List<PackageParameter>
getParameters()
int
hashCode()
boolean
isRunTest()
boolean
isRunTraceAnalysis()
static PackageConfig
newInstance()
Instantiates a newPackageConfig
with default values.-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Constructor Detail
-
PackageConfig
@DataBoundConstructor public PackageConfig(boolean runTest, boolean runTraceAnalysis, List<PackageParameter> parameters, List<PackageOutputParameter> outputParameters)
Instantiates a newPackageConfig
.- Parameters:
runTest
- specifies whether to run the test caserunTraceAnalysis
- specifies whether to run the trace analysisparameters
- the list of package parametersoutputParameters
- the list of package parameters
-
PackageConfig
public PackageConfig(boolean runTest, boolean runTraceAnalysis)
Instantiates a newPackageConfig
with empty package parameters.- Parameters:
runTest
- specifies whether to run the test caserunTraceAnalysis
- specifies whether to run the trace analysis
-
-
Method Detail
-
newInstance
public static PackageConfig newInstance()
Instantiates a newPackageConfig
with default values.- Returns:
- the default
PackageConfig
-
isRunTest
public boolean isRunTest()
-
isRunTraceAnalysis
public boolean isRunTraceAnalysis()
-
getParameters
public List<PackageParameter> getParameters()
-
getOutputParameters
public List<PackageOutputParameter> getOutputParameters()
-
expand
public PackageConfig expand(EnvVars envVars)
Description copied from interface:ExpandableConfig
Expands the test configuration parameters by using the current build environment variables.- Specified by:
expand
in interfaceExpandableConfig
- Parameters:
envVars
- the build environment variables- Returns:
- the expanded specific configuration
-
-