Class Remote
- 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Remote()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getId()
Get the repository id used to find authentication / mirror information in maven settings, default to 'cache'.String
getTransport()
Get the transport to use, currently, only 'resolver' is supported.String
getUrl()
Get address of remote cache.boolean
isEnabled()
Get the enabled field.boolean
isSaveToRemote()
Get save output to remote cache.void
setEnabled(boolean enabled)
Set the enabled field.void
setId(String id)
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
setUrl(String url)
Set address of remote cache.
-
-
-
Method Detail
-
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.
-
-