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:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionCacheConfig
(Caches.CacheType type, String filePath, String dbChannel, boolean clear) Instantiates a newCacheConfig
. -
Method Summary
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
CacheConfig
@DataBoundConstructor public CacheConfig(Caches.CacheType type, String filePath, String dbChannel, boolean clear) Instantiates a newCacheConfig
.- Parameters:
type
- the cache typefilePath
- the database file pathdbChannel
- the database channelclear
- specifies whether to clear all caches
-
-
Method Details
-
getType
-
getFilePath
-
getDbChannel
-
isClear
public boolean isClear() -
expand
Description copied from interface:ExpandableConfig
Expands the test configuration parameters by using the current build environment variables.- Specified by:
expand
in interfaceExpandableConfig
- Parameters:
envVars
- the build environment variables- Returns:
- the expanded specific configuration
-
equals
-
hashCode
public final int hashCode()
-