|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.lib.cvsclient.command.Command
org.netbeans.lib.cvsclient.command.BuildableCommand
public abstract class BuildableCommand
A class that provides common functionality for many of the CVS command that send similar sequences of requests.
| Field Summary | |
|---|---|
protected Builder |
builder
An implementation of Builder interface that constructs a FileContainerInfo object from the server's output.. |
| Fields inherited from class org.netbeans.lib.cvsclient.command.Command |
|---|
localDirectory |
| Constructor Summary | |
|---|---|
BuildableCommand()
|
|
| Method Summary | |
|---|---|
void |
commandTerminated(TerminationEvent e)
Called when server responses with "ok" or "error", (when the command finishes). |
Builder |
createBuilder(EventManager eventManager)
Method that is called while the command is being executed. |
void |
execute(ClientServices client,
EventManager eventManager)
Execute a command. |
protected boolean |
isBuilderSet()
Returns whether the builder is set. |
void |
messageSent(BinaryMessageEvent e)
Called when the server wants to send a binary message to be displayed to the user. |
void |
messageSent(MessageEvent e)
Called when the server wants to send a message to be displayed to the user. |
void |
setBuilder(Builder builder)
Used for setting user-defined builder. |
| Methods inherited from class org.netbeans.lib.cvsclient.command.Command |
|---|
clone, fileAdded, fileInfoGenerated, fileRemoved, fileToRemove, fileUpdated, getCVSArguments, getCVSCommand, getDisplayName, getGlobalOptions, getLocalDirectory, getLocalPath, getOptString, getRelativeToLocalPathInUnixStyle, getTrimmedString, hasFailed, moduleExpanded, resetCVSCommand, setCVSCommand, setDisplayName, setLocalDirectory |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Builder builder
| Constructor Detail |
|---|
public BuildableCommand()
| Method Detail |
|---|
public void execute(ClientServices client,
EventManager eventManager)
throws CommandException,
AuthenticationException
update,
statusetc.)
execute in class Commandclient - the client services object that provides any necessary
services to this command, including the ability to actually process
all the requests
CommandException - if an error occurs executing the command
AuthenticationExceptionpublic Builder createBuilder(EventManager eventManager)
public void messageSent(BinaryMessageEvent e)
CVSListener
messageSent in interface CVSListenermessageSent in class Commande - the eventpublic void messageSent(MessageEvent e)
Command
messageSent in interface CVSListenermessageSent in class Commande - the eventprotected boolean isBuilderSet()
public void setBuilder(Builder builder)
public void commandTerminated(TerminationEvent e)
commandTerminated in interface CVSListenercommandTerminated in class Command
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||