org.apache.tools.ant.taskdefs.optional.starteam
public class StarTeamList extends TreeBasedTask
Version: 1.0
UNKNOWN: name="stlist" category="scm"
Method Summary | |
---|---|
protected View | createSnapshotView(View raw)
Override of base-class abstract function creates an
appropriately configured view for checkoutlists - either
the current view or a view from this.label.
|
protected void | list(File reposFile, File localFile)
Log a repositary file and it's corresponding local file. |
protected void | logOperationDescription(Folder starteamrootFolder, File targetrootFolder)
extenders should emit to the log an entry describing the parameters
that will be used by this operation.
|
protected static String | pad(String s, int padlen)
Return a padded string. |
protected static String | rpad(String s, int padlen)
Return a right padded string. |
void | setAsOfDate(String asOfDateParam)
List files, dates, and statuses as of this date; optional.
|
void | setAsOfDateFormat(String asOfDateFormat)
Date Format with which asOfDate parameter to be parsed; optional.
|
void | setLabel(String label)
List files, dates, and statuses as of this label; optional.
|
protected void | testPreconditions()
Required base-class abstract function implementation checks for
incompatible parameters.
|
protected void | visit(Folder starteamFolder, File targetFolder)
Implements base-class abstract function to perform the checkout
operation on the files in each folder of the tree.
|
Parameters: raw the unconfigured View
Returns: the snapshot View
appropriately configured.
Parameters: reposFile the repositary file to log localFile the corresponding local file
Throws: IOException on error getting information from files
Parameters: starteamrootFolder root folder in StarTeam for the operation targetrootFolder root local folder for the operation (whether specified by the user or not.
Parameters: s the string to pad padlen the size of the padded string
Returns: the padded string
Parameters: s the string to pad padlen the size of the padded string
Returns: the padded string
Parameters: asOfDateParam the date as of which the listing to be made
Since: Ant 1.6
Parameters: asOfDateFormat the SimpleDateFormat-compatible format string
Since: Ant 1.6
Parameters: label the label to be listed
Throws: BuildException thrown on incompatible params specified
Parameters: starteamFolder the StarTeam folder from which files to be checked out targetFolder the local mapping of rootStarteamFolder
Throws: BuildException on error