Class ImportProjectConfig
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.ImportProjectConfig
- All Implemented Interfaces:
ExpandableConfig
,Describable<TMSConfig>
,Serializable
- Direct Known Subclasses:
ImportProjectDirConfig
Class holding the configuration for importing a project from test management system.
- See Also:
-
Nested Class Summary
-
Field Summary
Fields inherited from class de.tracetronic.jenkins.plugins.ecutest.test.config.TMSConfig
DEFAULT_TIMEOUT
-
Constructor Summary
ConstructorDescriptionImportProjectConfig
(String tmsPath, String importPath, boolean importMissingPackages, String credentialsId, String timeout) Instantiates a newImportProjectConfig
.ImportProjectConfig
(String tmsPath, String importPath, boolean importMissingPackages, String credentialsId, String timeout, String tmProjectId) Instantiates a newImportProjectConfig
. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Implementation according to Equality Pitfall #4.final boolean
Expands the test configuration parameters by using the current build environment variables.final int
hashCode()
boolean
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 Details
-
ImportProjectConfig
public ImportProjectConfig(String tmsPath, String importPath, boolean importMissingPackages, String credentialsId, String timeout) Instantiates a newImportProjectConfig
.- Parameters:
tmsPath
- the project path in test management systemimportPath
- the import pathimportMissingPackages
- specifies whether to import missing packagescredentialsId
- the credentials idtimeout
- the import timeout
-
ImportProjectConfig
@DataBoundConstructor public ImportProjectConfig(String tmsPath, String importPath, boolean importMissingPackages, String credentialsId, String timeout, String tmProjectId) Instantiates a newImportProjectConfig
.- Parameters:
tmsPath
- the project path in test management systemimportPath
- the import pathimportMissingPackages
- specifies whether to import missing packagescredentialsId
- the credentials idtimeout
- the import timeouttmProjectId
- the project ID in test management system
-
-
Method Details
-
isImportMissingPackages
public boolean isImportMissingPackages() -
getTmProjectId
-
expand
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
- Overrides:
equals
in classImportConfig
-
canEqual
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
-