org.apache.maven.model
Class DeploymentRepository
java.lang.Object
org.apache.maven.model.RepositoryBase
org.apache.maven.model.Repository
org.apache.maven.model.DeploymentRepository
- All Implemented Interfaces:
- Serializable, Cloneable, InputLocationTracker
public class DeploymentRepository
- extends Repository
- implements Serializable, Cloneable
Repository contains the information needed for deploying to the
remote
repository.
- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
Method Summary |
DeploymentRepository |
clone()
Method clone. |
boolean |
isUniqueVersion()
Get whether to assign snapshots a unique version comprised
of the timestamp and
build number, or to use the same version each
time. |
void |
setUniqueVersion(boolean uniqueVersion)
Set whether to assign snapshots a unique version comprised
of the timestamp and
build number, or to use the same version each
time. |
Methods inherited from class org.apache.maven.model.RepositoryBase |
equals, getId, getLayout, getLocation, getName, getUrl, hashCode, setId, setLayout, setLocation, setName, setUrl, toString |
DeploymentRepository
public DeploymentRepository()
clone
public DeploymentRepository clone()
- Method clone.
- Overrides:
clone
in class Repository
- Returns:
- DeploymentRepository
isUniqueVersion
public boolean isUniqueVersion()
- Get whether to assign snapshots a unique version comprised
of the timestamp and
build number, or to use the same version each
time.
- Returns:
- boolean
setUniqueVersion
public void setUniqueVersion(boolean uniqueVersion)
- Set whether to assign snapshots a unique version comprised
of the timestamp and
build number, or to use the same version each
time.
- Parameters:
uniqueVersion
-
Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.