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:
  • Constructor Details

    • Configuration

      public Configuration()
  • Method Details

    • addDebug

      public void addDebug(String string)
      Method addDebug.
      Parameters:
      string - a string object.
    • getAttachedOutputs

      public AttachedOutputs getAttachedOutputs()
      Get the attachedOutputs field.
      Returns:
      AttachedOutputs
    • getDebugs

      public List<String> getDebugs()
      Method getDebugs.
      Returns:
      List
    • 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 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

      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.