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 void
addDebug(String string)
Method addDebug.AttachedOutputs
getAttachedOutputs()
Get the attachedOutputs field.List<String>
getDebugs()
Method getDebugs.String
getHashAlgorithm()
Get one of XX, XXMM, METRO, METRO+MM, SHA-1, SHA-256, SHA-384, SHA-512.Local
getLocal()
Get the local field.MultiModule
getMultiModule()
Get specifies related to multi module projects configuration.ProjectVersioning
getProjectVersioning()
Get specifies parameters to handle project version changes.Remote
getRemote()
Get the remote field.boolean
isEnabled()
Get the enabled field.boolean
isMandatoryClean()
Get enable the cache storing ability only if a build went through the clean lifecycle.boolean
isValidateXml()
Get validate cache config and builds metadata against xsd.void
removeDebug(String string)
Method removeDebug.void
setAttachedOutputs(AttachedOutputs attachedOutputs)
Set the attachedOutputs field.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).void
setEnabled(boolean enabled)
Set the enabled field.void
setHashAlgorithm(String hashAlgorithm)
Set one of XX, XXMM, METRO, METRO+MM, SHA-1, SHA-256, SHA-384, SHA-512.void
setLocal(Local local)
Set the local field.void
setMandatoryClean(boolean mandatoryClean)
Set enable the cache storing ability only if a build went through the clean lifecycle.void
setMultiModule(MultiModule multiModule)
Set specifies related to multi module projects configuration.void
setProjectVersioning(ProjectVersioning projectVersioning)
Set specifies parameters to handle project version changes.void
setRemote(Remote remote)
Set the remote field.void
setValidateXml(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.
-
-