Java Doc for StarTeamCheckin.java in  » Build » ANT » org » apache » tools » ant » taskdefs » optional » starteam » 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 » ANT » org.apache.tools.ant.taskdefs.optional.starteam 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.tools.ant.taskdefs.optional.starteam.StarTeamTask
   org.apache.tools.ant.taskdefs.optional.starteam.TreeBasedTask
      org.apache.tools.ant.taskdefs.optional.starteam.StarTeamCheckin

StarTeamCheckin
public class StarTeamCheckin extends TreeBasedTask (Code)
Checks files into a StarTeam project. Optionally adds files and in the local tree that are not managed by the repository to its control. Created: Sat Dec 15 20:26:07 2001
version:
   1.0



Constructor Summary
public  StarTeamCheckin()
     Constructor for StarTeamCheckin.

Method Summary
protected  ViewcreateSnapshotView(View raw)
     Override of base-class abstract function creates an appropriately configured view.
public  StringgetComment()
    
public  booleanisAddUncontrolled()
     Get the value of addUncontrolled.
protected  voidlogOperationDescription(Folder starteamrootFolder, java.io.File targetrootFolder)
     Implements base-class abstract function to emit to the log an entry describing the parameters that will be used by this operation.
public  voidsetAddUncontrolled(boolean addUncontrolled)
     if true, any files or folders NOT in StarTeam will be added to the repository.
public  voidsetComment(String comment)
     Optional checkin comment to be saved with the file.
public  voidsetCreateFolders(boolean argCreateFolders)
    
public  voidsetUnlocked(boolean v)
     Set to do an unlocked checkout; optional, default is false; If true, file will be unlocked so that other users may change it.
protected  voidtestPreconditions()
     Implements base-class abstract function to define tests for any preconditons required by the task.
protected  voidvisit(Folder starteamFolder, java.io.File targetFolder)
     Implements base-class abstract function to perform the checkout operation on the files in each folder of the tree.


Constructor Detail
StarTeamCheckin
public StarTeamCheckin()(Code)
Constructor for StarTeamCheckin.




Method Detail
createSnapshotView
protected View createSnapshotView(View raw)(Code)
Override of base-class abstract function creates an appropriately configured view. For checkins this is always the current or "tip" view.
Parameters:
  raw - the unconfigured View the snapshot View appropriately configured.



getComment
public String getComment()(Code)
Get the comment attribute for this operation value of comment.



isAddUncontrolled
public boolean isAddUncontrolled()(Code)
Get the value of addUncontrolled. value of addUncontrolled.



logOperationDescription
protected void logOperationDescription(Folder starteamrootFolder, java.io.File targetrootFolder)(Code)
Implements base-class abstract function to emit to the log an entry describing the parameters that will be used by this operation.
Parameters:
  starteamrootFolder - root folder in StarTeam for the operation
Parameters:
  targetrootFolder - root local folder for the operation(whether specified by the user or not).



setAddUncontrolled
public void setAddUncontrolled(boolean addUncontrolled)(Code)
if true, any files or folders NOT in StarTeam will be added to the repository. Defaults to "false".
Parameters:
  addUncontrolled - Value to assign to addUncontrolled.



setComment
public void setComment(String comment)(Code)
Optional checkin comment to be saved with the file.
Parameters:
  comment - Value to assign to comment.



setCreateFolders
public void setCreateFolders(boolean argCreateFolders)(Code)
Sets the value of createFolders
Parameters:
  argCreateFolders - Value to assign to this.createFolders



setUnlocked
public void setUnlocked(boolean v)(Code)
Set to do an unlocked checkout; optional, default is false; If true, file will be unlocked so that other users may change it. If false, lock status will not change.
Parameters:
  v - true means do an unlocked checkoutfalse means leave status alone.



testPreconditions
protected void testPreconditions() throws BuildException(Code)
Implements base-class abstract function to define tests for any preconditons required by the task.
exception:
  BuildException - thrown if both rootLocalFolderand viewRootLocalFolder are defined



visit
protected void visit(Folder starteamFolder, java.io.File targetFolder) throws BuildException(Code)
Implements base-class abstract function to perform the checkout operation on the files in each folder of the tree.
Parameters:
  starteamFolder - the StarTeam folder to which fileswill be checked in
Parameters:
  targetFolder - local folder from which files will be checked in
exception:
  BuildException - if any error occurs



Fields inherited from org.apache.tools.ant.taskdefs.optional.starteam.TreeBasedTask
final public static String DEFAULT_EXCLUDESETTING(Code)(Java Doc)
final public static String DEFAULT_INCLUDESETTING(Code)(Java Doc)

Methods inherited from org.apache.tools.ant.taskdefs.optional.starteam.TreeBasedTask
protected void _setAsOfDate(String asOfDate)(Code)(Java Doc)
protected void _setAsOfDateFormat(String asOfDateFormat)(Code)(Java Doc)
protected void _setLabel(String label)(Code)(Java Doc)
final public void execute() throws BuildException(Code)(Java Doc)
protected String getAsOfDate()(Code)(Java Doc)
public String getExcludes()(Code)(Java Doc)
public static String getFullRepositoryPath(com.starbase.starteam.File remotefile)(Code)(Java Doc)
protected int getIDofLabelInUse()(Code)(Java Doc)
public String getIncludes()(Code)(Java Doc)
protected String getLabel()(Code)(Java Doc)
protected int getLabelID(View v) throws BuildException(Code)(Java Doc)
protected Label getLabelInUse()(Code)(Java Doc)
public String getRootLocalFolder()(Code)(Java Doc)
public String getRootStarteamFolder()(Code)(Java Doc)
protected View getViewConfiguredByDate(View raw) throws BuildException(Code)(Java Doc)
public boolean isForced()(Code)(Java Doc)
public boolean isPreloadFileInformation()(Code)(Java Doc)
public boolean isRecursive()(Code)(Java Doc)
protected boolean isUsingRevisionLabel()(Code)(Java Doc)
protected boolean isUsingViewLabel()(Code)(Java Doc)
protected void logAsOfDate()(Code)(Java Doc)
protected void logExcludes()(Code)(Java Doc)
protected void logIncludes()(Code)(Java Doc)
protected void logLabel()(Code)(Java Doc)
abstract protected void logOperationDescription(Folder starteamrootFolder, java.io.File targetrootFolder)(Code)(Java Doc)
protected boolean matchPatterns(String patterns, String pName)(Code)(Java Doc)
public void setExcludes(String excludes)(Code)(Java Doc)
public void setForced(boolean v)(Code)(Java Doc)
public void setIncludes(String includes)(Code)(Java Doc)
public void setPreloadFileInformation(boolean v)(Code)(Java Doc)
public void setRecursive(boolean v)(Code)(Java Doc)
public void setRootLocalFolder(String rootLocalFolder)(Code)(Java Doc)
public void setRootStarteamFolder(String rootStarteamFolder)(Code)(Java Doc)
protected boolean shouldProcess(String pName)(Code)(Java Doc)
abstract protected void testPreconditions() throws BuildException(Code)(Java Doc)
abstract protected void visit(Folder rootStarteamFolder, java.io.File rootLocalFolder) throws BuildException(Code)(Java Doc)

Methods inherited from org.apache.tools.ant.taskdefs.optional.starteam.StarTeamTask
abstract protected View createSnapshotView(View rawview) throws BuildException(Code)(Java Doc)
final protected void disconnectFromServer()(Code)(Java Doc)
final public String getPassword()(Code)(Java Doc)
final public String getProjectname()(Code)(Java Doc)
final protected Server getServer()(Code)(Java Doc)
final public String getServername()(Code)(Java Doc)
final public String getServerport()(Code)(Java Doc)
final protected TypeNames getTypeNames()(Code)(Java Doc)
final public String getURL()(Code)(Java Doc)
final public String getUserName()(Code)(Java Doc)
final protected String getUserName(int userID)(Code)(Java Doc)
final protected String getViewURL()(Code)(Java Doc)
final public String getViewname()(Code)(Java Doc)
protected View openView() throws BuildException(Code)(Java Doc)
final public void setPassword(String password)(Code)(Java Doc)
final public void setProjectname(String projectname)(Code)(Java Doc)
final public void setServername(String servername)(Code)(Java Doc)
final public void setServerport(String serverport)(Code)(Java Doc)
final public void setURL(String url)(Code)(Java Doc)
final public void setUserName(String userName)(Code)(Java Doc)
final public void setViewname(String viewname)(Code)(Java Doc)

w__ww___.j_av_a__2___s___._c___o_m__ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.