java.lang.Object
hudson.model.AbstractDescribableImpl<ProjectConfig>
de.tracetronic.jenkins.plugins.ecutest.test.config.ProjectConfig
All Implemented Interfaces:
ExpandableConfig, Describable<ProjectConfig>, Serializable

public class ProjectConfig extends AbstractDescribableImpl<ProjectConfig> implements Serializable, ExpandableConfig
Class holding the project configuration.
See Also:
  • Constructor Details

    • ProjectConfig

      @DataBoundConstructor public ProjectConfig(boolean execInCurrentPkgDir, String filterExpression, ProjectConfig.JobExecutionMode jobExecMode)
      Instantiates a new ProjectConfig.
      Parameters:
      execInCurrentPkgDir - specifies whether to search the references in the current package directory
      filterExpression - the filter expression to filter the package and project references
      jobExecMode - the analysis job execution mode
  • Method Details

    • newInstance

      public static ProjectConfig newInstance()
      Instantiates a new ProjectConfig with default values.
      Returns:
      the default ProjectConfig
    • isExecInCurrentPkgDir

      public boolean isExecInCurrentPkgDir()
    • getFilterExpression

      public String getFilterExpression()
    • getJobExecMode

      public ProjectConfig.JobExecutionMode getJobExecMode()
    • expand

      public ProjectConfig 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