Java Doc for WatchCommand.java in  » IDE-Netbeans » cvsclient » org » netbeans » lib » cvsclient » command » watch » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Netbeans » cvsclient » org.netbeans.lib.cvsclient.command.watch 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.netbeans.lib.cvsclient.command.Command
      org.netbeans.lib.cvsclient.command.BuildableCommand
         org.netbeans.lib.cvsclient.command.BasicCommand
            org.netbeans.lib.cvsclient.command.watch.WatchCommand

WatchCommand
public class WatchCommand extends BasicCommand (Code)

author:
   Thomas Singer



Constructor Summary
public  WatchCommand()
     Construct a new WatchCommand.

Method Summary
public  voidcommandTerminated(TerminationEvent e)
     If a builder was set-up, it's outputDone() method is called.
public  voidexecute(ClientServices client, EventManager eventManager)
     Executes this command.
public  StringgetCVSArguments()
     Returns the arguments of the command in the command-line style.
public  StringgetCVSCommand()
     Returns how this command would look like when typed on the command line.
public  StringgetOptString()
     String returned by this method defines which options are available for this command.
public  WatchgetWatch()
     Returns the watch.
public  WatchModegetWatchMode()
     Returns the WatchMode.
public  voidresetCVSCommand()
     Resets all switches in this command.
public  booleansetCVSCommand(char opt, String optArg)
     Uses the specified argument to set the appropriate properties.
public  voidsetWatch(Watch watch)
     Sets the watch.
public  voidsetWatchMode(WatchMode watchMode)
     Sets the WatchMode.


Constructor Detail
WatchCommand
public WatchCommand()(Code)
Construct a new WatchCommand.




Method Detail
commandTerminated
public void commandTerminated(TerminationEvent e)(Code)
If a builder was set-up, it's outputDone() method is called. This method is called, when the server responses with "ok" or "error" (== when the command finishes).



execute
public void execute(ClientServices client, EventManager eventManager) throws CommandException, AuthenticationException(Code)
Executes this command.
Parameters:
  client - the client services object that provides any necessaryservices to this command, including the ability to actuallyprocess all the requests
Parameters:
  eventManager - the EventManager used for sending events
throws:
  IllegalStateException - if the commands options aren't set correctly
throws:
  AuthenticationException - if the connection could not be established
throws:
  CommandException - if some other thing gone wrong



getCVSArguments
public String getCVSArguments()(Code)
Returns the arguments of the command in the command-line style. Similar to getCVSCommand() however without the files and command's name



getCVSCommand
public String getCVSCommand()(Code)
Returns how this command would look like when typed on the command line.



getOptString
public String getOptString()(Code)
String returned by this method defines which options are available for this command.



getWatch
public Watch getWatch()(Code)
Returns the watch.



getWatchMode
public WatchMode getWatchMode()(Code)
Returns the WatchMode.



resetCVSCommand
public void resetCVSCommand()(Code)
Resets all switches in this command. After calling this method, the command behaves like newly created.



setCVSCommand
public boolean setCVSCommand(char opt, String optArg)(Code)
Uses the specified argument to set the appropriate properties. To be mainly used for automatic settings (like parsing the .cvsrc file) whether the option (switch) was recognized and set



setWatch
public void setWatch(Watch watch)(Code)
Sets the watch. If the WatchMode ADD or REMOVE is used, null is the same as Watch.ALL. If the WatchMode ON or OFF is used, this option isn't used at all.



setWatchMode
public void setWatchMode(WatchMode watchMode)(Code)
Sets the WatchMode.



Fields inherited from org.netbeans.lib.cvsclient.command.BasicCommand
protected ClientServices clientServices(Code)(Java Doc)
protected File[] files(Code)(Java Doc)
protected List requests(Code)(Java Doc)

Methods inherited from org.netbeans.lib.cvsclient.command.BasicCommand
final protected void addArgumentRequest(boolean value, String argument)(Code)(Java Doc)
protected void addArgumentRequests()(Code)(Java Doc)
final protected void addDirectoryRequest(File directory)(Code)(Java Doc)
final protected void addRequest(Request request)(Code)(Java Doc)
protected void addRequestForFile(File file, Entry entry)(Code)(Java Doc)
final protected void addRequestForWorkingDirectory(ClientServices clientServices) throws IOException(Code)(Java Doc)
protected void addRequestsForDirectory(File directory) throws IOException, CommandAbortedException(Code)(Java Doc)
protected void addRequestsForFile(File file) throws IOException(Code)(Java Doc)
final protected void appendFileArguments(StringBuffer buffer)(Code)(Java Doc)
protected boolean assumeLocalPathWhenUnspecified()(Code)(Java Doc)
protected boolean doesCheckFileTime()(Code)(Java Doc)
public void execute(ClientServices client, EventManager em) throws CommandException, AuthenticationException(Code)(Java Doc)
public File getFileEndingWith(String ending)(Code)(Java Doc)
public File[] getFiles()(Code)(Java Doc)
public boolean getRecursive()(Code)(Java Doc)
public File getXthFile(int index)(Code)(Java Doc)
public boolean isRecursive()(Code)(Java Doc)
protected void sendEntryAndModifiedRequests(Entry entry, File file)(Code)(Java Doc)
public void setFiles(File[] theFiles)(Code)(Java Doc)
public void setRecursive(boolean recursive)(Code)(Java Doc)

Fields inherited from org.netbeans.lib.cvsclient.command.BuildableCommand
protected Builder builder(Code)(Java Doc)

Methods inherited from org.netbeans.lib.cvsclient.command.BuildableCommand
public void commandTerminated(TerminationEvent e)(Code)(Java Doc)
public Builder createBuilder(EventManager eventManager)(Code)(Java Doc)
public void execute(ClientServices client, EventManager eventManager) throws CommandException, AuthenticationException(Code)(Java Doc)
protected boolean isBuilderSet()(Code)(Java Doc)
public void messageSent(BinaryMessageEvent e)(Code)(Java Doc)
public void messageSent(MessageEvent e)(Code)(Java Doc)
public void setBuilder(Builder builder)(Code)(Java Doc)

Fields inherited from org.netbeans.lib.cvsclient.command.Command
protected String localDirectory(Code)(Java Doc)

Methods inherited from org.netbeans.lib.cvsclient.command.Command
public Object clone()(Code)(Java Doc)
public void commandTerminated(TerminationEvent e)(Code)(Java Doc)
public void execute(ClientServices client, EventManager eventManager) throws CommandException, CommandAbortedException, AuthenticationException(Code)(Java Doc)
public void fileAdded(FileAddedEvent e)(Code)(Java Doc)
public void fileInfoGenerated(FileInfoEvent e)(Code)(Java Doc)
public void fileRemoved(FileRemovedEvent e)(Code)(Java Doc)
public void fileToRemove(FileToRemoveEvent e)(Code)(Java Doc)
public void fileUpdated(FileUpdatedEvent e)(Code)(Java Doc)
abstract public String getCVSArguments()(Code)(Java Doc)
abstract public String getCVSCommand()(Code)(Java Doc)
public String getDisplayName()(Code)(Java Doc)
final public GlobalOptions getGlobalOptions()(Code)(Java Doc)
final public String getLocalDirectory()(Code)(Java Doc)
final public String getLocalPath()(Code)(Java Doc)
abstract public String getOptString()(Code)(Java Doc)
final public String getRelativeToLocalPathInUnixStyle(File file)(Code)(Java Doc)
final protected static String getTrimmedString(String s)(Code)(Java Doc)
public boolean hasFailed()(Code)(Java Doc)
public void messageSent(MessageEvent e)(Code)(Java Doc)
public void messageSent(BinaryMessageEvent e)(Code)(Java Doc)
public void moduleExpanded(ModuleExpansionEvent e)(Code)(Java Doc)
abstract public void resetCVSCommand()(Code)(Java Doc)
abstract public boolean setCVSCommand(char opt, String optArg)(Code)(Java Doc)
public void setDisplayName(String name)(Code)(Java Doc)
final protected void setLocalDirectory(String localDirectory)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.