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 newPackageConfigwith empty package parameters.PackageConfig(boolean runTest, boolean runTraceAnalysis, List<PackageParameter> parameters, List<PackageOutputParameter> outputParameters) Instantiates a newPackageConfig. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanExpands the test configuration parameters by using the current build environment variables.final inthashCode()booleanbooleanstatic PackageConfigInstantiates a newPackageConfigwith 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 newPackageConfigwith empty package parameters.- Parameters:
runTest- specifies whether to run the test caserunTraceAnalysis- specifies whether to run the trace analysis
-
-
Method Details
-
newInstance
Instantiates a newPackageConfigwith default values.- Returns:
- the default
PackageConfig
-
isRunTest
public boolean isRunTest() -
isRunTraceAnalysis
public boolean isRunTraceAnalysis() -
getParameters
-
getOutputParameters
-
expand
Description copied from interface:ExpandableConfigExpands the test configuration parameters by using the current build environment variables.- Specified by:
expandin interfaceExpandableConfig- Parameters:
envVars- the build environment variables- Returns:
- the expanded specific configuration
-
equals
-
hashCode
public final int hashCode()
-