Class ProjectConfig
- 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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ProjectConfig.DescriptorImpl
DescriptorImpl forProjectConfig
.static class
ProjectConfig.JobExecutionMode
Defines the analysis job execution modes.
-
Constructor Summary
Constructors Constructor Description ProjectConfig(boolean execInCurrentPkgDir, String filterExpression, ProjectConfig.JobExecutionMode jobExecMode)
Instantiates a newProjectConfig
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
ProjectConfig
expand(EnvVars envVars)
Expands the test configuration parameters by using the current build environment variables.String
getFilterExpression()
ProjectConfig.JobExecutionMode
getJobExecMode()
int
hashCode()
boolean
isExecInCurrentPkgDir()
static ProjectConfig
newInstance()
Instantiates a newProjectConfig
with default values.-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Constructor Detail
-
ProjectConfig
@DataBoundConstructor public ProjectConfig(boolean execInCurrentPkgDir, String filterExpression, ProjectConfig.JobExecutionMode jobExecMode)
Instantiates a newProjectConfig
.- Parameters:
execInCurrentPkgDir
- specifies whether to search the references in the current package directoryfilterExpression
- the filter expression to filter the package and project referencesjobExecMode
- the analysis job execution mode
-
-
Method Detail
-
newInstance
public static ProjectConfig newInstance()
Instantiates a newProjectConfig
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 interfaceExpandableConfig
- Parameters:
envVars
- the build environment variables- Returns:
- the expanded specific configuration
-
-