|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.jbase.jbuilder5vcs.P4ClientSpec
Title: JBuilder/Perforce
Description: Integration of Perforce on jBuilder
This class is a mirror of the P4 client, it maintain the list of
file on the pending list and on the depot list.
Copyright: Copyright (c) 2001
Field Summary | |
com.borland.primetime.vfs.Url |
_url
|
static java.lang.String |
KEY_ACCESS
|
static java.lang.String |
KEY_CLIENT
|
static java.lang.String |
KEY_DESCRIPTION
|
static java.lang.String |
KEY_FILES
|
static java.lang.String |
KEY_HOST
|
static java.lang.String |
KEY_OPTIONS
|
static java.lang.String |
KEY_OWNER
|
static java.lang.String |
KEY_ROOT
|
static java.lang.String |
KEY_UPDATE
|
static java.lang.String |
KEY_VIEW
|
Constructor Summary | |
P4ClientSpec()
|
|
P4ClientSpec(java.lang.String ClientSpec,
java.lang.String sListOfFile,
java.lang.String sListPending)
Creates new P4ClientSpec |
Method Summary | |
void |
addFileOnDepot(java.lang.StringBuffer sFileToAdd)
Add filse on the depot colection |
void |
addFileOnPending(java.lang.StringBuffer sFileToAdd)
Add filse on the pending colection |
java.lang.String |
getAccess()
|
java.lang.String |
getClient()
|
java.lang.String |
getDepot()
|
java.lang.String |
getDescription()
|
java.lang.String |
getHost()
|
java.lang.String |
getOptions(int id)
|
java.lang.String |
getOwner()
|
java.lang.String |
getRoot()
|
java.util.Map |
getStatus(com.borland.primetime.node.Project project)
Get the status list of the specified project, |
java.lang.String |
getUpdate()
|
boolean |
isUnderVCS(java.lang.String sFile,
int nDepotPending)
Check on the collection respective (depot or pending) if |
static void |
main(java.lang.String[] argv)
For test only |
void |
refresh(java.lang.String ClientSpec,
java.lang.String sListOfFile,
java.lang.String sListPending)
For refresh the list of avaible file on P4 and reconfigure |
void |
removeFileFromPending(java.lang.StringBuffer sFileToRemove)
Remove file from the pending colection |
void |
setAccess(java.lang.String access)
|
void |
setClient(java.lang.String client)
|
void |
setDepot(java.lang.String depot)
Properties Get and Set |
void |
setDescriptiont(java.lang.String description)
|
void |
setHost(java.lang.String host)
|
void |
setOptions(java.lang.String options,
int id)
|
void |
setOwner(java.lang.String owner)
|
void |
setRoot(java.lang.String root)
|
void |
setUpdate(java.lang.String update)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String KEY_CLIENT
public static final java.lang.String KEY_UPDATE
public static final java.lang.String KEY_ACCESS
public static final java.lang.String KEY_OWNER
public static final java.lang.String KEY_HOST
public static final java.lang.String KEY_DESCRIPTION
public static final java.lang.String KEY_ROOT
public static final java.lang.String KEY_OPTIONS
public static final java.lang.String KEY_VIEW
public static final java.lang.String KEY_FILES
public com.borland.primetime.vfs.Url _url
Constructor Detail |
public P4ClientSpec()
public P4ClientSpec(java.lang.String ClientSpec, java.lang.String sListOfFile, java.lang.String sListPending)
Method Detail |
public void setDepot(java.lang.String depot)
public java.lang.String getDepot()
public void setClient(java.lang.String client)
public java.lang.String getClient()
public void setUpdate(java.lang.String update)
public java.lang.String getUpdate()
public void setAccess(java.lang.String access)
public java.lang.String getAccess()
public void setOwner(java.lang.String owner)
public java.lang.String getOwner()
public void setHost(java.lang.String host)
public java.lang.String getHost()
public void setDescriptiont(java.lang.String description)
public java.lang.String getDescription()
public void setRoot(java.lang.String root)
public java.lang.String getRoot()
public java.lang.String getOptions(int id)
public void setOptions(java.lang.String options, int id)
public boolean isUnderVCS(java.lang.String sFile, int nDepotPending)
the file past on parameter exist.
public java.util.Map getStatus(com.borland.primetime.node.Project project)
public void addFileOnDepot(java.lang.StringBuffer sFileToAdd)
sFileToAdd
- List of files to addpublic void addFileOnPending(java.lang.StringBuffer sFileToAdd)
sFileToAdd
- List of files to addpublic void removeFileFromPending(java.lang.StringBuffer sFileToRemove)
sFileToRemove
- List of files to addpublic void refresh(java.lang.String ClientSpec, java.lang.String sListOfFile, java.lang.String sListPending)
public static void main(java.lang.String[] argv)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |