Java Doc for CvsVersioningSystem.java in  » IDE-Netbeans » versioning » org » netbeans » modules » versioning » system » cvss » 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 » versioning » org.netbeans.modules.versioning.system.cvss 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.netbeans.modules.versioning.system.cvss.CvsVersioningSystem

CvsVersioningSystem
public class CvsVersioningSystem (Code)
A singleton CVS manager class, center of CVS module. Use CvsVersioningSystem.getInstance() to get access to CVS module functionality.
author:
   Maros Sandor


Field Summary
final public static  ObjectEVENT_PARAM_CHANGED
    
final public static  ObjectEVENT_REFRESH_ANNOTATIONS
    
final public static  ObjectEVENT_VERSIONED_FILES_CHANGED
    
final public static  StringFILENAME_CVS
    
final public static  StringFILENAME_CVSIGNORE
    
final public static  StringFILENAME_CVS_ENTRIES
    
final public static  StringFILENAME_CVS_REPOSITORY
    
final public static  ObjectPARAM_BATCH_REFRESH_RUNNING
    
 ListenersSupportlistenerSupport
    


Method Summary
public  voidaddVersioningListener(VersioningListener listener)
    
public static  GlobalOptionscreateGlobalOptions()
    
 StringdetectCvsRoot(Command cmd)
     Determines CVS root for the given command.
public  AdminHandlergetAdminHandler()
    
public  AnnotatorgetAnnotator()
    
public  ClientRuntimegetClientRuntime(String cvsRoot)
     Determines correct CVS client from the given cvs root.
public  ClientRuntimegetClientRuntime(Command cmd, GlobalOptions options)
     Gets client runtime (a repository session).
public  KeywordSubstitutionOptionsgetDefaultKeywordSubstitution(File file)
    
public  FileHandlergetFileHandler()
    
public  CvsFileTableModelgetFileTableModel(Context context, int displayStatuses)
    
public  FileHandlergetGzippedFileHandler()
    
public static synchronized  CvsVersioningSystemgetInstance()
    
public  voidgetOriginalFile(File workingCopy, File originalFile)
    
public  ObjectgetParameter(Object key)
    
public  FileStatusCachegetStatusCache()
    
 FilegetTopmostManagedParent(File file)
     Tests whether the file is managed by this versioning system.
public  VCSAnnotatorgetVCSAnnotator()
    
public  VCSInterceptorgetVCSInterceptor()
    
public static  voidignoreFilesystemEvents(boolean ignore)
    
public  booleanisBinary(File file)
     Uses first 1024 bytes test.
 booleanisIgnored(File file)
     Checks if the file is ignored by CVS module.
public  booleanisIgnoredFilename(File file)
    
 booleanisManaged(File file)
     Tests whether a file or directory should receive the STATUS_NOTVERSIONED_NOTMANAGED status.
public  booleanisText(File file)
    
 booleanisUnignored(File file)
     Returns true for files that were originally ignored by default (.exe files for example) but the user explicitly invoked CVS/Unignore on them.
public  RequestProcessor.Taskpost(Command cmd, ExecutorSupport mgr)
     Executes this command asynchronously, in a separate thread, and returns immediately.
public  RequestProcessor.Taskpost(Command cmd, GlobalOptions options, ExecutorSupport mgr)
     Schedules given command for execution.
Parameters:
  cmd -
Parameters:
  options - Global options to use, may be set to null to use default options
Parameters:
  mgr - already scheduled task
throws:
  IllegalCommandException - if the command is not valid, e.g.
public  voidrefreshAllAnnotations()
    
public  voidremoveVersioningListener(VersioningListener listener)
    
public  voidsetIgnored(File[] files)
     Adds all supplied files to 'cvsignore' file.
 voidsetNotUnignored(File file)
    
public  voidsetNotignored(File[] files)
    
public  voidsetParameter(Object key, Object value)
    
 voidshutdown()
    
public  voidversionedFilesChanged()
    

Field Detail
EVENT_PARAM_CHANGED
final public static Object EVENT_PARAM_CHANGED(Code)



EVENT_REFRESH_ANNOTATIONS
final public static Object EVENT_REFRESH_ANNOTATIONS(Code)



EVENT_VERSIONED_FILES_CHANGED
final public static Object EVENT_VERSIONED_FILES_CHANGED(Code)



FILENAME_CVS
final public static String FILENAME_CVS(Code)



FILENAME_CVSIGNORE
final public static String FILENAME_CVSIGNORE(Code)



FILENAME_CVS_ENTRIES
final public static String FILENAME_CVS_ENTRIES(Code)



FILENAME_CVS_REPOSITORY
final public static String FILENAME_CVS_REPOSITORY(Code)



PARAM_BATCH_REFRESH_RUNNING
final public static Object PARAM_BATCH_REFRESH_RUNNING(Code)



listenerSupport
ListenersSupport listenerSupport(Code)





Method Detail
addVersioningListener
public void addVersioningListener(VersioningListener listener)(Code)



createGlobalOptions
public static GlobalOptions createGlobalOptions()(Code)
Creates new GlobalOptions prefilled with default options:
  • compression level 3 if not enabled logging



detectCvsRoot
String detectCvsRoot(Command cmd) throws NotVersionedException(Code)
Determines CVS root for the given command.
Parameters:
  cmd - a CVS command CVSRoot the command will execute in
throws:
  NotVersionedException - if the root cannot be determined (no CVS/Root file or unsupported command)



getAdminHandler
public AdminHandler getAdminHandler()(Code)



getAnnotator
public Annotator getAnnotator()(Code)



getClientRuntime
public ClientRuntime getClientRuntime(String cvsRoot)(Code)
Determines correct CVS client from the given cvs root.
Parameters:
  cvsRoot - root never null



getClientRuntime
public ClientRuntime getClientRuntime(Command cmd, GlobalOptions options)(Code)
Gets client runtime (a repository session). runtime never null



getDefaultKeywordSubstitution
public KeywordSubstitutionOptions getDefaultKeywordSubstitution(File file)(Code)



getFileHandler
public FileHandler getFileHandler()(Code)



getFileTableModel
public CvsFileTableModel getFileTableModel(Context context, int displayStatuses)(Code)



getGzippedFileHandler
public FileHandler getGzippedFileHandler()(Code)



getInstance
public static synchronized CvsVersioningSystem getInstance()(Code)



getOriginalFile
public void getOriginalFile(File workingCopy, File originalFile)(Code)



getParameter
public Object getParameter(Object key)(Code)



getStatusCache
public FileStatusCache getStatusCache()(Code)



getTopmostManagedParent
File getTopmostManagedParent(File file)(Code)
Tests whether the file is managed by this versioning system. If it is, the method should return the topmost parent of the file that is still versioned.
Parameters:
  file - a file File the file itself or one of its parents or null if the supplied file is NOT managed by this versioning system



getVCSAnnotator
public VCSAnnotator getVCSAnnotator()(Code)



getVCSInterceptor
public VCSInterceptor getVCSInterceptor()(Code)



ignoreFilesystemEvents
public static void ignoreFilesystemEvents(boolean ignore)(Code)

See Also:   FilesystemHandler.ignoreEvents
See Also:   



isBinary
public boolean isBinary(File file)(Code)
Uses first 1024 bytes test. A control byte means binary. true if the file is almost certainly binary.



isIgnored
boolean isIgnored(File file)(Code)
Checks if the file is ignored by CVS module. This method assumes that the file is managed so if you do not know this beforehand, you have to call isManaged() first.
Parameters:
  file - file to be tested true, if the file is ignored by CVS, false otherwise.



isIgnoredFilename
public boolean isIgnoredFilename(File file)(Code)



isManaged
boolean isManaged(File file)(Code)
Tests whether a file or directory should receive the STATUS_NOTVERSIONED_NOTMANAGED status. All files and folders that have a parent with CVS/Repository file are considered versioned.
Parameters:
  file - a file or directory false if the file should receive the STATUS_NOTVERSIONED_NOTMANAGED status, true otherwise



isText
public boolean isText(File file)(Code)
true if the file is almost certainly textual.



isUnignored
boolean isUnignored(File file)(Code)
Returns true for files that were originally ignored by default (.exe files for example) but the user explicitly invoked CVS/Unignore on them.
Parameters:
  file - a file to test true if the file was explicitly Unignored by user



post
public RequestProcessor.Task post(Command cmd, ExecutorSupport mgr) throws CommandException, AuthenticationException, NotVersionedException, IllegalCommandException, IOException(Code)
Executes this command asynchronously, in a separate thread, and returns immediately. The command may or may not execute immediately, depending on previous commands sent to the CVS client that may be still waiting for execution.
Parameters:
  cmd - command to execute
Parameters:
  mgr - listener for events the command produces
throws:
  CommandException -
throws:
  AuthenticationException -



post
public RequestProcessor.Task post(Command cmd, GlobalOptions options, ExecutorSupport mgr) throws IllegalCommandException(Code)
Schedules given command for execution.
Parameters:
  cmd -
Parameters:
  options - Global options to use, may be set to null to use default options
Parameters:
  mgr - already scheduled task
throws:
  IllegalCommandException - if the command is not valid, e.g. it contains files that cannot beprocessed by a single command (they do not have a common filesystem root OR their CVS Roots differ)



refreshAllAnnotations
public void refreshAllAnnotations()(Code)



removeVersioningListener
public void removeVersioningListener(VersioningListener listener)(Code)



setIgnored
public void setIgnored(File[] files)(Code)
Adds all supplied files to 'cvsignore' file. They need not reside in the same folder.
Parameters:
  files - files to ignore



setNotUnignored
void setNotUnignored(File file)(Code)



setNotignored
public void setNotignored(File[] files)(Code)



setParameter
public void setParameter(Object key, Object value)(Code)



shutdown
void shutdown()(Code)



versionedFilesChanged
public void versionedFilesChanged()(Code)



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.