|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.project.BaseObject
org.apache.maven.project.Repository
NOTE: This is very CVS specific, but I would like to try additional SCM package like subversion ASAP.
Field Summary |
Fields inherited from class org.apache.maven.project.BaseObject |
id |
Constructor Summary | |
Repository()
|
Method Summary | |
java.lang.String |
getConnection()
Gets the connection attribute of the Repository object |
java.lang.String |
getCvsModule()
Get cvs module. |
java.lang.String |
getCvsModule(java.lang.String conn)
Get cvs module. |
java.lang.String |
getCvsRoot()
Get cvs root. |
java.lang.String |
getCvsRoot(java.lang.String conn,
java.lang.String username)
Get cvs root. |
java.lang.String |
getCvsServer(java.lang.String conn)
Get cvs server. |
java.lang.String |
getDeveloperConnection()
Gets the connection attribute of the Repository object |
java.lang.String |
getScmType()
Get the SCM type |
java.lang.String |
getUrl()
Gets the url attribute of the Repository object |
void |
setConnection(java.lang.String connection)
Sets the connection attribute of the Repository object |
void |
setDeveloperConnection(java.lang.String developerConnection)
Sets the connection attribute of the Repository object |
void |
setUrl(java.lang.String url)
Sets the url attribute of the Repository object |
static java.lang.String[] |
splitSCMConnection(java.lang.String connection)
Splits an SCM string into parts |
static java.lang.String[] |
tokenizerToArray(EnhancedStringTokenizer tok)
Converts a tokenizer to an array of strings FIXME: This should be in a string util class |
Methods inherited from class org.apache.maven.project.BaseObject |
addProperty, equals, getId, getName, getProperties, getProperty, hashCode, isValid, resolvedProperties, setId, setName, setProperties, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Repository()
Method Detail |
public void setConnection(java.lang.String connection)
connection
- Connection URL.public void setDeveloperConnection(java.lang.String developerConnection)
public java.lang.String getConnection()
public java.lang.String getDeveloperConnection()
public void setUrl(java.lang.String url)
url
- Web URL.public java.lang.String getUrl()
public java.lang.String getScmType()
public java.lang.String getCvsRoot()
public java.lang.String getCvsModule()
public java.lang.String getCvsServer(java.lang.String conn)
conn
- six token connection string
public java.lang.String getCvsRoot(java.lang.String conn, java.lang.String username)
conn
- six token connection stringusername
- username override if non-empty.
public java.lang.String getCvsModule(java.lang.String conn)
conn
- six token connection string
public static java.lang.String[] splitSCMConnection(java.lang.String connection)
connection
-
public static java.lang.String[] tokenizerToArray(EnhancedStringTokenizer tok)
tok
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |