Class CacheConfig

java.lang.Object
hudson.model.AbstractDescribableImpl<CacheConfig>
de.tracetronic.jenkins.plugins.ecutest.tool.CacheConfig
All Implemented Interfaces:
ExpandableConfig, Describable<CacheConfig>, Serializable

public class CacheConfig extends AbstractDescribableImpl<CacheConfig> implements ExpandableConfig, Serializable
Class holding the configuration for generating an ecu.test cache type.
See Also:
  • Constructor Details

    • CacheConfig

      @DataBoundConstructor public CacheConfig(Caches.CacheType type, String filePath, String dbChannel, boolean clear)
      Instantiates a new CacheConfig.
      Parameters:
      type - the cache type
      filePath - the database file path
      dbChannel - the database channel
      clear - specifies whether to clear all caches
  • Method Details

    • getType

      public Caches.CacheType getType()
    • getFilePath

      public String getFilePath()
    • getDbChannel

      public String getDbChannel()
    • isClear

      public boolean isClear()
    • expand

      public CacheConfig expand(EnvVars envVars)
      Description copied from interface: ExpandableConfig
      Expands the test configuration parameters by using the current build environment variables.
      Specified by:
      expand in interface ExpandableConfig
      Parameters:
      envVars - the build environment variables
      Returns:
      the expanded specific configuration
    • equals

      public final boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object