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
Nested Classes -
Field Summary
Fields inherited from class de.tracetronic.jenkins.plugins.ecutest.test.config.TMSConfig
DEFAULT_TIMEOUT -
Constructor Summary
ConstructorsConstructorDescriptionImportProjectConfig(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 booleanImplementation according to Equality Pitfall #4.final booleanExpands the test configuration parameters by using the current build environment variables.final inthashCode()booleanMethods inherited from class de.tracetronic.jenkins.plugins.ecutest.test.config.ImportConfig
getImportPath, getTmsPathMethods 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:ExpandableConfigExpands the test configuration parameters by using the current build environment variables.- Parameters:
envVars- the build environment variables- Returns:
- the expanded specific configuration
-
equals
- Overrides:
equalsin classImportConfig
-
canEqual
Description copied from class:ImportConfigImplementation according to Equality Pitfall #4.- Overrides:
canEqualin classImportConfig- Parameters:
other- the other object- Returns:
trueif the other object is an instance of the class in which canEqual is (re)defined,falseotherwise.
-
hashCode
public final int hashCode()- Overrides:
hashCodein classImportConfig
-