|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.starbase.starteam.commandline.StarTeamCmd
The main class implementing the StarTeam commandline.
| Constructor Summary | |
StarTeamCmd()
StarTeamCmd can be extended, or an application may register for events directly off this object |
|
| Method Summary | |
void |
addListener(IListener listener)
Add a listener for events triggered by the command line Events will be fired whenever the appropriate command line actions are executed |
static void |
main(java.lang.String[] args)
The main entry point for the commandline. |
void |
removeListener(IListener listener)
Remove a listener (i.e. |
static int |
run(java.lang.String[] args)
Same functionality as main but returns an error code instead of calling System.exit. |
int |
runCommandLine(java.lang.String[] args)
A mechanism to allow an Aplication Developer to create a StarTeamCmd-derived class, and implement its main method e.g. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StarTeamCmd()
| Method Detail |
public static void main(java.lang.String[] args)
args - arguments to the commandlinepublic static int run(java.lang.String[] args)
args - arguments to the commandline
public int runCommandLine(java.lang.String[] args)
args - String[] arguments to the commandline
public void addListener(IListener listener)
listener - IListener An application-specific event handler implementation
which will handle the eventspublic void removeListener(IListener listener)
listener - IListener The listener to remove
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||