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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CacheConfig.DescriptorImpl
DescriptorImpl forCacheConfig
.
-
Constructor Summary
Constructors Constructor Description CacheConfig(Caches.CacheType type, String filePath, String dbChannel, boolean clear)
Instantiates a newCacheConfig
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
CacheConfig
expand(EnvVars envVars)
Expands the test configuration parameters by using the current build environment variables.String
getDbChannel()
String
getFilePath()
Caches.CacheType
getType()
int
hashCode()
boolean
isClear()
-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Constructor Detail
-
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 Detail
-
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 interfaceExpandableConfig
- Parameters:
envVars
- the build environment variables- Returns:
- the expanded specific configuration
-
-