Class ImportProjectArchiveConfig
- java.lang.Object
-
- de.tracetronic.jenkins.plugins.ecutest.test.config.TMSConfig
-
- de.tracetronic.jenkins.plugins.ecutest.test.config.ImportConfig
-
- de.tracetronic.jenkins.plugins.ecutest.test.config.ImportProjectArchiveConfig
-
- All Implemented Interfaces:
ExpandableConfig
,Describable<TMSConfig>
,Serializable
public class ImportProjectArchiveConfig extends ImportConfig
Class holding the configuration for importing a project from an archive.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ImportProjectArchiveConfig.DescriptorImpl
DescriptorImpl forImportProjectArchiveConfig
.
-
Field Summary
-
Fields inherited from class de.tracetronic.jenkins.plugins.ecutest.test.config.TMSConfig
DEFAULT_TIMEOUT
-
-
Constructor Summary
Constructors Constructor Description ImportProjectArchiveConfig(String tmsPath, String importPath, String importConfigPath, boolean replaceFiles)
Instantiates a newImportProjectArchiveConfig
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canEqual(Object other)
Implementation according to Equality Pitfall #4.boolean
equals(Object other)
ImportProjectArchiveConfig
expand(EnvVars envVars)
Expands the test configuration parameters by using the current build environment variables.String
getImportConfigPath()
int
hashCode()
boolean
isReplaceFiles()
-
Methods inherited from class de.tracetronic.jenkins.plugins.ecutest.test.config.ImportConfig
getImportPath, getTmsPath
-
Methods inherited from class de.tracetronic.jenkins.plugins.ecutest.test.config.TMSConfig
all, getCredentials, getCredentialsId, getDefaultTimeout, getDescriptor, getParsedTimeout, getTimeout
-
-
-
-
Constructor Detail
-
ImportProjectArchiveConfig
@DataBoundConstructor public ImportProjectArchiveConfig(String tmsPath, String importPath, String importConfigPath, boolean replaceFiles)
Instantiates a newImportProjectArchiveConfig
.- Parameters:
tmsPath
- the project pathimportPath
- the import configuration pathimportConfigPath
- the import config pathreplaceFiles
- specifies whether existing files should be overwritten
-
-
Method Detail
-
getImportConfigPath
public String getImportConfigPath()
-
isReplaceFiles
public boolean isReplaceFiles()
-
expand
public ImportProjectArchiveConfig expand(EnvVars envVars)
Description copied from interface:ExpandableConfig
Expands the test configuration parameters by using the current build environment variables.- Parameters:
envVars
- the build environment variables- Returns:
- the expanded specific configuration
-
equals
public final boolean equals(Object other)
- Overrides:
equals
in classImportConfig
-
canEqual
public final boolean canEqual(Object other)
Description copied from class:ImportConfig
Implementation according to Equality Pitfall #4.- Overrides:
canEqual
in classImportConfig
- Parameters:
other
- the other object- Returns:
true
if the other object is an instance of the class in which canEqual is (re)defined,false
otherwise.
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classImportConfig
-
-