|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.starbase.starteam.ImportUtility
This class is used internally for the implementation of various import utilities. It is not intended for general use.
| Constructor Summary | |
ImportUtility(Server server)
Creates a new ImportUtility object for the specified server. |
|
| Method Summary | |
void |
enableImportMode()
Warning: This method is potentially very dangerous and should be used with extreme caution. Calling this method will put the server into a state in which the same server object can be used to perform operations for different users. |
boolean |
equals(java.lang.Object source)
returns true if this object instance is equal to the source |
int |
hashCode()
returns a unique hash for all instances of this type |
void |
setCommandTime(double time)
Warning: This method is potentially very dangerous and should be used with extreme caution. Each command issued to a StarTeam Server can have an optional override time. |
void |
setCommandUserID(int userID)
Warning: This method is potentially very dangerous and should be used with extreme caution. This can only be called when in import mode and is used to impersonate a user for subsequent commands. |
void |
switchUserContext(int userID)
Warning: This method is potentially very dangerous and should be used with extreme caution. This can only be called when in import mode and is used to specify which user will be used for subsequent operations. |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ImportUtility(Server server)
server - the server object for which the import utilities will
be used| Method Detail |
public void setCommandTime(double time)
Once the value is set it will be used on all subsequent commands. To revert to using the current time this method should be called with a value of zero (0.0).
time - the time to use for subsequent commandspublic void setCommandUserID(int userID)
userID - the userID for which new actions will be performed.ImportUtility.enableImportMode()public void enableImportMode()
ImportUtility.switchUserContext(int)public void switchUserContext(int userID)
userID - the userID for which new actions will be performed.ImportUtility.enableImportMode()public boolean equals(java.lang.Object source)
equals in class java.lang.Objectsource - Object the source to comapre with
public int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||