Class Configuration
java.lang.Object
org.apache.maven.buildcache.xml.config.Configuration
- All Implemented Interfaces:
Serializable
Class Configuration.
- Version:
- $Revision$ $Date$
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidMethod addDebug.Get the attachedOutputs field.Method getDebugs.Get one of XX, XXMM, METRO, METRO+MM, SHA-1, SHA-256, SHA-384, SHA-512.getLocal()Get the local field.Get specifies related to multi module projects configuration.Get specifies parameters to handle project version changes.Get the remote field.booleanGet the enabled field.booleanGet enable the cache storing ability only if a build went through the clean lifecycle.booleanGet validate cache config and builds metadata against xsd.voidremoveDebug(String string) Method removeDebug.voidsetAttachedOutputs(AttachedOutputs attachedOutputs) Set the attachedOutputs field.voidSet fileHash (causes file hash to be saved in build metadata) or EffectivePom (causes effective pom info to be saved in build metadata).voidsetEnabled(boolean enabled) Set the enabled field.voidsetHashAlgorithm(String hashAlgorithm) Set one of XX, XXMM, METRO, METRO+MM, SHA-1, SHA-256, SHA-384, SHA-512.voidSet the local field.voidsetMandatoryClean(boolean mandatoryClean) Set enable the cache storing ability only if a build went through the clean lifecycle.voidsetMultiModule(MultiModule multiModule) Set specifies related to multi module projects configuration.voidsetProjectVersioning(ProjectVersioning projectVersioning) Set specifies parameters to handle project version changes.voidSet the remote field.voidsetValidateXml(boolean validateXml) Set validate cache config and builds metadata against xsd.
-
Constructor Details
-
Configuration
public Configuration()
-
-
Method Details
-
addDebug
Method addDebug.- Parameters:
string- a string object.
-
getAttachedOutputs
Get the attachedOutputs field.- Returns:
- AttachedOutputs
-
getDebugs
Method getDebugs.- Returns:
- List
-
getHashAlgorithm
Get one of XX, XXMM, METRO, METRO+MM, SHA-1, SHA-256, SHA-384, SHA-512.- Returns:
- String
-
getLocal
Get the local field.- Returns:
- Local
-
getMultiModule
Get specifies related to multi module projects configuration.- Returns:
- MultiModule
-
getProjectVersioning
Get specifies parameters to handle project version changes.- Returns:
- ProjectVersioning
-
getRemote
Get the remote field.- Returns:
- Remote
-
isEnabled
public boolean isEnabled()Get the enabled field.- Returns:
- boolean
-
isMandatoryClean
public boolean isMandatoryClean()Get enable the cache storing ability only if a build went through the clean lifecycle.- Returns:
- boolean
-
isValidateXml
public boolean isValidateXml()Get validate cache config and builds metadata against xsd. TODO: not implemented.- Returns:
- boolean
-
removeDebug
Method removeDebug.- Parameters:
string- a string object.
-
setAttachedOutputs
Set the attachedOutputs field.- Parameters:
attachedOutputs- a attachedOutputs object.
-
setDebugs
Set fileHash (causes file hash to be saved in build metadata) or EffectivePom (causes effective pom info to be saved in build metadata).- Parameters:
debugs- a debugs object.
-
setEnabled
public void setEnabled(boolean enabled) Set the enabled field.- Parameters:
enabled- a enabled object.
-
setHashAlgorithm
Set one of XX, XXMM, METRO, METRO+MM, SHA-1, SHA-256, SHA-384, SHA-512.- Parameters:
hashAlgorithm- a hashAlgorithm object.
-
setLocal
Set the local field.- Parameters:
local- a local object.
-
setMandatoryClean
public void setMandatoryClean(boolean mandatoryClean) Set enable the cache storing ability only if a build went through the clean lifecycle.- Parameters:
mandatoryClean- a mandatoryClean object.
-
setMultiModule
Set specifies related to multi module projects configuration.- Parameters:
multiModule- a multiModule object.
-
setProjectVersioning
Set specifies parameters to handle project version changes.- Parameters:
projectVersioning- a projectVersioning object.
-
setRemote
Set the remote field.- Parameters:
remote- a remote object.
-
setValidateXml
public void setValidateXml(boolean validateXml) Set validate cache config and builds metadata against xsd. TODO: not implemented.- Parameters:
validateXml- a validateXml object.
-