Java Doc for ScmSystem.java in  » Build » antmod » org » antmod » scm » 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 » Build » antmod » org.antmod.scm 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.antmod.scm.ScmSystem

All known Subclasses:   org.antmod.scm.impl.SvnSystemImpl,  org.antmod.scm.impl.CvsSystemImpl,
ScmSystem
public interface ScmSystem (Code)
Interface to be implemented by repository providers for access to a Source Configuration Management system such as CVS or Subversion.
author:
   Klaas Waslander




Method Summary
public  StringcreateBranchInTrunk(ScmVersion newBranchForModule)
    
public  StringcreateTagInBranch(ScmVersion existingBranch, ScmVersion newTag)
    
public  voiddoAdd(File file, boolean recursive)
     Add the given directory or file to this scm system.
public  voiddoCheckout(String moduleName, File destDir, ScmVersion version, boolean reallyQuiet)
     Checkout a module from this SCM repository into the given destination directory; the destDir contains the module contents afterwards.
Parameters:
  moduleName - The top-level module to be checked out from the SCM repository
Parameters:
  destDir - The destination directory for the locally checked out module contents, usually you set this to a directory with the name equal to the moduleName
Parameters:
  version - The module version you want to checkout.
public  voiddoCheckoutOrUpdate(String moduleName, File destDir, ScmVersion version, boolean reallyQuiet)
     Convenience method for doing a checkout only if needed, and otherwise updating the existing checkout.
public  voiddoCommit(File file, String message)
     Commit the given file or a whole directory to CVS.
public  voiddoExport(String moduleName, File destDir, ScmVersion version, boolean reallyQuiet)
    
public  voiddoMerge(File moduleDir, ScmVersion version)
     Merge in changes made between current version of local module directory and given version.
public  voiddoUpdate(File file, ScmVersion version)
     Update existing checkout locally to the given revision, or keep the same revision if null.
public  ScmDifference[]getDifferences(ScmVersion version1, ScmVersion version2)
     Get the changes between two versions of the same module.
public  StringgetErrorOutput()
    
public  ScmVersiongetLatestVersion(File moduleDir)
     Get the latest version of a locally checked out module directory.
public  ScmVersiongetLocalVersion(File moduleDir)
    
public  StringgetRevisionNumber(File file)
     Get the current revision number of the given file in SCM.
public  StringgetStandardOutput()
    
public  ScmUrlgetUrl()
     Get the URL of the repository which this ScmSystem instance is communicating with.
public  ScmVersion[]getVersionsInBranch(File file, ScmVersion branch)
    
public  booleanisCheckoutDir(File directory)
     Returns true if the given directory contains a checkout of content from this ScmSystem.
public  booleanisUpToDate(File checkoutDir)
     Check whether the given checkout directory is up-to-date when comparing it to the repository contents.
 voidsetUrl(ScmUrl providerUrl)
     Set the URL this ScmSystem instance should be talking with; is only invoked from within this package.



Method Detail
createBranchInTrunk
public String createBranchInTrunk(ScmVersion newBranchForModule)(Code)



createTagInBranch
public String createTagInBranch(ScmVersion existingBranch, ScmVersion newTag)(Code)



doAdd
public void doAdd(File file, boolean recursive)(Code)
Add the given directory or file to this scm system. If it is not a file within an already added directory structure, the file/directory will be added to the root of this scm system.
Parameters:
  file - The file/directory to be added
Parameters:
  recursive - Whether to add any files under the directory recursively



doCheckout
public void doCheckout(String moduleName, File destDir, ScmVersion version, boolean reallyQuiet)(Code)
Checkout a module from this SCM repository into the given destination directory; the destDir contains the module contents afterwards.
Parameters:
  moduleName - The top-level module to be checked out from the SCM repository
Parameters:
  destDir - The destination directory for the locally checked out module contents, usually you set this to a directory with the name equal to the moduleName
Parameters:
  version - The module version you want to checkout.
Parameters:
  reallyQuiet - Whether console output should be suppressed



doCheckoutOrUpdate
public void doCheckoutOrUpdate(String moduleName, File destDir, ScmVersion version, boolean reallyQuiet)(Code)
Convenience method for doing a checkout only if needed, and otherwise updating the existing checkout.
Parameters:
  packageName -
Parameters:
  revision -
Parameters:
  destDir -
Parameters:
  reallyQuiet -



doCommit
public void doCommit(File file, String message)(Code)
Commit the given file or a whole directory to CVS.
Parameters:
  file -



doExport
public void doExport(String moduleName, File destDir, ScmVersion version, boolean reallyQuiet)(Code)



doMerge
public void doMerge(File moduleDir, ScmVersion version)(Code)
Merge in changes made between current version of local module directory and given version.
Parameters:
  moduleDir - The module directory which should receive the changes compared to the given version
Parameters:
  version - The version containing the changes to be merged into the locally checked module directory



doUpdate
public void doUpdate(File file, ScmVersion version)(Code)
Update existing checkout locally to the given revision, or keep the same revision if null.
Parameters:
  file - The directory or file to be updated
Parameters:
  version - If null, revision of checkout is not changed



getDifferences
public ScmDifference[] getDifferences(ScmVersion version1, ScmVersion version2)(Code)
Get the changes between two versions of the same module.
Parameters:
  version1 - The 'old' version to use as base
Parameters:
  version2 - The 'new' version, which should be compared against the 'old' version The changes between the given versions.



getErrorOutput
public String getErrorOutput()(Code)



getLatestVersion
public ScmVersion getLatestVersion(File moduleDir)(Code)
Get the latest version of a locally checked out module directory. Note that if the local version is a tag, this does not work. null If no latest version is found



getLocalVersion
public ScmVersion getLocalVersion(File moduleDir)(Code)



getRevisionNumber
public String getRevisionNumber(File file)(Code)
Get the current revision number of the given file in SCM.



getStandardOutput
public String getStandardOutput()(Code)



getUrl
public ScmUrl getUrl()(Code)
Get the URL of the repository which this ScmSystem instance is communicating with. The ScmUrl of the repository which this ScmSystem instance is communicating with.



getVersionsInBranch
public ScmVersion[] getVersionsInBranch(File file, ScmVersion branch)(Code)



isCheckoutDir
public boolean isCheckoutDir(File directory)(Code)
Returns true if the given directory contains a checkout of content from this ScmSystem.
Parameters:
  directory - The directory which does or does not contain a checkout Whether the given directory contains a checkout



isUpToDate
public boolean isUpToDate(File checkoutDir)(Code)
Check whether the given checkout directory is up-to-date when comparing it to the repository contents.
Parameters:
  checkoutDir - The directory with locally checked out contents Whether the checkoutDir is up-to-date



setUrl
void setUrl(ScmUrl providerUrl)(Code)
Set the URL this ScmSystem instance should be talking with; is only invoked from within this package.
Parameters:
  providerUrl - The URL this ScmSystem instance should be connecting with



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