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:
  • Constructor Details

    • PackageConfig

      @DataBoundConstructor public PackageConfig(boolean runTest, boolean runTraceAnalysis, List<PackageParameter> parameters, List<PackageOutputParameter> outputParameters)
      Instantiates a new PackageConfig.
      Parameters:
      runTest - specifies whether to run the test case
      runTraceAnalysis - specifies whether to run the trace analysis
      parameters - the list of package parameters
      outputParameters - the list of package parameters
    • PackageConfig

      public PackageConfig(boolean runTest, boolean runTraceAnalysis)
      Instantiates a new PackageConfig with empty package parameters.
      Parameters:
      runTest - specifies whether to run the test case
      runTraceAnalysis - specifies whether to run the trace analysis
  • Method Details

    • newInstance

      public static PackageConfig newInstance()
      Instantiates a new PackageConfig 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 interface ExpandableConfig
      Parameters:
      envVars - the build environment variables
      Returns:
      the expanded specific configuration
    • equals

      public final boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object