Class Configuration
- java.lang.Object
-
- org.apache.maven.buildcache.xml.config.Configuration
-
- All Implemented Interfaces:
Serializable
public class Configuration extends Object implements Serializable
Class Configuration.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Configuration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDebug(String string)Method addDebug.AttachedOutputsgetAttachedOutputs()Get the attachedOutputs field.List<String>getDebugs()Method getDebugs.StringgetHashAlgorithm()Get one of XX, XXMM, METRO, METRO+MM, SHA-1, SHA-256, SHA-384, SHA-512.LocalgetLocal()Get the local field.MultiModulegetMultiModule()Get specifies related to multi module projects configuration.ProjectVersioninggetProjectVersioning()Get specifies parameters to handle project version changes.RemotegetRemote()Get the remote field.booleanisEnabled()Get the enabled field.booleanisMandatoryClean()Get enable the cache storing ability only if a build went through the clean lifecycle.booleanisValidateXml()Get validate cache config and builds metadata against xsd.voidremoveDebug(String string)Method removeDebug.voidsetAttachedOutputs(AttachedOutputs attachedOutputs)Set the attachedOutputs field.voidsetDebugs(List<String> debugs)Set fileHash (causes file hash is saved in build metadata) or EffectivePom (causes effective pom info is 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.voidsetLocal(Local local)Set 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.voidsetRemote(Remote remote)Set the remote field.voidsetValidateXml(boolean validateXml)Set validate cache config and builds metadata against xsd.
-
-
-
Method Detail
-
addDebug
public void addDebug(String string)
Method addDebug.- Parameters:
string- a string object.
-
getAttachedOutputs
public AttachedOutputs getAttachedOutputs()
Get the attachedOutputs field.- Returns:
- AttachedOutputs
-
getHashAlgorithm
public String getHashAlgorithm()
Get one of XX, XXMM, METRO, METRO+MM, SHA-1, SHA-256, SHA-384, SHA-512.- Returns:
- String
-
getLocal
public Local getLocal()
Get the local field.- Returns:
- Local
-
getMultiModule
public MultiModule getMultiModule()
Get specifies related to multi module projects configuration.- Returns:
- MultiModule
-
getProjectVersioning
public ProjectVersioning getProjectVersioning()
Get specifies parameters to handle project version changes.- Returns:
- ProjectVersioning
-
getRemote
public Remote 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
public void removeDebug(String string)
Method removeDebug.- Parameters:
string- a string object.
-
setAttachedOutputs
public void setAttachedOutputs(AttachedOutputs attachedOutputs)
Set the attachedOutputs field.- Parameters:
attachedOutputs- a attachedOutputs object.
-
setDebugs
public void setDebugs(List<String> debugs)
Set fileHash (causes file hash is saved in build metadata) or EffectivePom (causes effective pom info is 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
public void setHashAlgorithm(String hashAlgorithm)
Set one of XX, XXMM, METRO, METRO+MM, SHA-1, SHA-256, SHA-384, SHA-512.- Parameters:
hashAlgorithm- a hashAlgorithm object.
-
setLocal
public void setLocal(Local local)
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
public void setMultiModule(MultiModule multiModule)
Set specifies related to multi module projects configuration.- Parameters:
multiModule- a multiModule object.
-
setProjectVersioning
public void setProjectVersioning(ProjectVersioning projectVersioning)
Set specifies parameters to handle project version changes.- Parameters:
projectVersioning- a projectVersioning object.
-
setRemote
public void setRemote(Remote remote)
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.
-
-