org.apache.maven.model
Class DeploymentRepository
java.lang.Object
  
org.apache.maven.model.RepositoryBase
      
org.apache.maven.model.DeploymentRepository
- All Implemented Interfaces: 
 - Serializable
 
public class DeploymentRepository
- extends RepositoryBase
- implements Serializable
  
Repository contains the information needed for deploying to the
 remote
         repository.
- Version:
 
  - $Revision$ $Date$
 
- See Also:
 - Serialized Form
 
 
| 
Method Summary | 
 boolean | 
equals(Object obj)
 
            | 
 String | 
getModelEncoding()
 
            | 
 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 | 
setModelEncoding(String modelEncoding)
 
          Set an encoding used for reading/writing the model. | 
 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. | 
 
 
 
DeploymentRepository
public 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 - 
 
 
equals
public boolean equals(Object obj)
- Overrides:
 equals in class RepositoryBase
 
- See Also:
 Object.equals(java.lang.Object)
 
setModelEncoding
public void setModelEncoding(String modelEncoding)
- Set an encoding used for reading/writing the model.
- Overrides:
 setModelEncoding in class RepositoryBase
 
- Parameters:
 modelEncoding - the encoding used when reading/writing the model.
 
 
getModelEncoding
public String getModelEncoding()
- Overrides:
 getModelEncoding in class RepositoryBase
 
- Returns:
 - the current encoding used when reading/writing this model.
 
 
Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.