Class ImportProjectConfig

All Implemented Interfaces:
ExpandableConfig, Describable<TMSConfig>, Serializable
Direct Known Subclasses:
ImportProjectDirConfig

public class ImportProjectConfig extends ImportConfig
Class holding the configuration for importing a project from test management system.
See Also:
  • Constructor Details

    • ImportProjectConfig

      public ImportProjectConfig(String tmsPath, String importPath, boolean importMissingPackages, String credentialsId, String timeout)
      Instantiates a new ImportProjectConfig.
      Parameters:
      tmsPath - the project path in test management system
      importPath - the import path
      importMissingPackages - specifies whether to import missing packages
      credentialsId - the credentials id
      timeout - the import timeout
    • ImportProjectConfig

      @DataBoundConstructor public ImportProjectConfig(String tmsPath, String importPath, boolean importMissingPackages, String credentialsId, String timeout, String tmProjectId)
      Instantiates a new ImportProjectConfig.
      Parameters:
      tmsPath - the project path in test management system
      importPath - the import path
      importMissingPackages - specifies whether to import missing packages
      credentialsId - the credentials id
      timeout - the import timeout
      tmProjectId - the project ID in test management system
  • Method Details

    • isImportMissingPackages

      public boolean isImportMissingPackages()
    • getTmProjectId

      public String getTmProjectId()
    • expand

      public ImportProjectConfig 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 class ImportConfig
    • canEqual

      public final boolean canEqual(Object other)
      Description copied from class: ImportConfig
      Implementation according to Equality Pitfall #4.
      Overrides:
      canEqual in class ImportConfig
      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 class ImportConfig