Class CacheConfig

    • Constructor Detail

      • 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 Detail

      • 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