org.apache.maven.artifact.ant
Class RemoteRepository
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.maven.artifact.ant.Repository
org.apache.maven.artifact.ant.RemoteRepository
- All Implemented Interfaces:
- Cloneable
public class RemoteRepository
- extends Repository
Remote repository type.
- Version:
- $Id: RemoteRepository.html 806929 2012-03-01 18:57:40Z hboutemy $
- Author:
- Brett Porter
Fields inherited from class org.apache.tools.ant.ProjectComponent |
description, location, project |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject |
RemoteRepository
public RemoteRepository()
getUrl
public String getUrl()
setUrl
public void setUrl(String url)
getAuthentication
public Authentication getAuthentication()
addAuthentication
public void addAuthentication(Authentication authentication)
addProxy
public void addProxy(Proxy proxy)
getProxy
public Proxy getProxy()
getSnapshots
public RepositoryPolicy getSnapshots()
addSnapshots
public void addSnapshots(RepositoryPolicy snapshots)
getReleases
public RepositoryPolicy getReleases()
addReleases
public void addReleases(RepositoryPolicy releases)
getDefaultId
protected String getDefaultId()
- Specified by:
getDefaultId
in class Repository
Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.