Class CacheConfig
- java.lang.Object
-
- org.apache.maven.buildcache.xml.config.CacheConfig
-
- All Implemented Interfaces:
Serializable
public class CacheConfig extends Object implements Serializable
Cache build metadata.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CacheConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Configuration
getConfiguration()
Get configuration of main cache properties.ExecutionControl
getExecutionControl()
Get execution rules for plugins in cached mode.Input
getInput()
Get configuration for source code input files participating in checksum calculation.String
getModelEncoding()
Get the modelEncoding field.Output
getOutput()
Get configuration for output artifacts, it's needed if you want to explicitly include/exclude something from caching.void
setConfiguration(Configuration configuration)
Set configuration of main cache properties.void
setExecutionControl(ExecutionControl executionControl)
Set execution rules for plugins in cached mode.void
setInput(Input input)
Set configuration for source code input files participating in checksum calculation.void
setModelEncoding(String modelEncoding)
Set the modelEncoding field.void
setOutput(Output output)
Set configuration for output artifacts, it's needed if you want to explicitly include/exclude something from caching.
-
-
-
Method Detail
-
getConfiguration
public Configuration getConfiguration()
Get configuration of main cache properties.- Returns:
- Configuration
-
getExecutionControl
public ExecutionControl getExecutionControl()
Get execution rules for plugins in cached mode. Defines which plugins should run always.- Returns:
- ExecutionControl
-
getInput
public Input getInput()
Get configuration for source code input files participating in checksum calculation.- Returns:
- Input
-
getModelEncoding
public String getModelEncoding()
Get the modelEncoding field.- Returns:
- String
-
getOutput
public Output getOutput()
Get configuration for output artifacts, it's needed if you want to explicitly include/exclude something from caching.- Returns:
- Output
-
setConfiguration
public void setConfiguration(Configuration configuration)
Set configuration of main cache properties.- Parameters:
configuration
- a configuration object.
-
setExecutionControl
public void setExecutionControl(ExecutionControl executionControl)
Set execution rules for plugins in cached mode. Defines which plugins should run always.- Parameters:
executionControl
- a executionControl object.
-
setInput
public void setInput(Input input)
Set configuration for source code input files participating in checksum calculation.- Parameters:
input
- a input object.
-
setModelEncoding
public void setModelEncoding(String modelEncoding)
Set the modelEncoding field.- Parameters:
modelEncoding
- a modelEncoding object.
-
setOutput
public void setOutput(Output output)
Set configuration for output artifacts, it's needed if you want to explicitly include/exclude something from caching.- Parameters:
output
- a output object.
-
-