java.lang.Object
org.apache.maven.buildcache.xml.config.Remote
All Implemented Interfaces:
Serializable

public class Remote extends Object implements Serializable
Class Remote.
Version:
$Revision$ $Date$
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the repository id used to find authentication / mirror information in maven settings, default to 'cache'.
    Get the transport to use, currently, only 'resolver' is supported.
    Get address of remote cache.
    boolean
    Get the enabled field.
    boolean
    Get save output to remote cache.
    void
    setEnabled(boolean enabled)
    Set the enabled field.
    void
    Set the repository id used to find authentication / mirror information in maven settings, default to 'cache'.
    void
    setSaveToRemote(boolean saveToRemote)
    Set save output to remote cache.
    void
    setTransport(String transport)
    Set the transport to use, currently, only 'resolver' is supported.
    void
    Set address of remote cache.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Remote

      public Remote()
  • Method Details

    • getId

      public String getId()
      Get the repository id used to find authentication / mirror information in maven settings, default to 'cache'.
      Returns:
      String
    • getTransport

      public String getTransport()
      Get the transport to use, currently, only 'resolver' is supported.
      Returns:
      String
    • getUrl

      public String getUrl()
      Get address of remote cache.
      Returns:
      String
    • isEnabled

      public boolean isEnabled()
      Get the enabled field.
      Returns:
      boolean
    • isSaveToRemote

      public boolean isSaveToRemote()
      Get save output to remote cache. Recommended to enable on CI agents only.
      Returns:
      boolean
    • setEnabled

      public void setEnabled(boolean enabled)
      Set the enabled field.
      Parameters:
      enabled - a enabled object.
    • setId

      public void setId(String id)
      Set the repository id used to find authentication / mirror information in maven settings, default to 'cache'.
      Parameters:
      id - a id object.
    • setSaveToRemote

      public void setSaveToRemote(boolean saveToRemote)
      Set save output to remote cache. Recommended to enable on CI agents only.
      Parameters:
      saveToRemote - a saveToRemote object.
    • setTransport

      public void setTransport(String transport)
      Set the transport to use, currently, only 'resolver' is supported.
      Parameters:
      transport - a transport object.
    • setUrl

      public void setUrl(String url)
      Set address of remote cache.
      Parameters:
      url - a url object.