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:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionPackageConfig
(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
Modifier and TypeMethodDescriptionfinal boolean
Expands the test configuration parameters by using the current build environment variables.final int
hashCode()
boolean
boolean
static PackageConfig
Instantiates a newPackageConfig
with default values.Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
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 Details
-
newInstance
Instantiates a newPackageConfig
with default values.- Returns:
- the default
PackageConfig
-
isRunTest
public boolean isRunTest() -
isRunTraceAnalysis
public boolean isRunTraceAnalysis() -
getParameters
-
getOutputParameters
-
expand
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
-
equals
-
hashCode
public final int hashCode()
-