Package org.apache.maven.model
Class DeploymentRepository
- java.lang.Object
-
- org.apache.maven.model.RepositoryBase
-
- org.apache.maven.model.DeploymentRepository
-
- All Implemented Interfaces:
java.io.Serializable
public class DeploymentRepository extends RepositoryBase implements java.io.Serializable
Repository contains the information needed for deploying to the remote repository.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
uniqueVersion
Whether to assign snapshots a unique version comprised of the timestamp and build number, or to use the same version each time.
-
Constructor Summary
Constructors Constructor Description DeploymentRepository()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
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.
-
-
-
Method Detail
-
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
-
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classRepositoryBase
- See Also:
Object.equals(java.lang.Object)
-
-