API Overview API Index Package Overview Direct link to this page
Apache Ant 1.7.1
  org.apache.tools.ant.taskdefs.optional.starteam. StarTeamTask View Source
Author(s)
Since
Version
1.1
Serial
Hierarchy
 Object
      ProjectComponent
          Task
              StarTeamTask
Implements
Subclasses
Description
publicabstract abstract class StarTeamTask
  Common super class for all StarTeam tasks.
See also:    TreeBasedTask
Constructors
public StarTeamTask ()
Methods
Hide/Show inherited methods
publicfinal void bindToOwner (Task owner) [Inherited From Task]
  Bind a task to another; use this when configuring a newly created task to do work on behalf of another.
public java.lang.Object clone () throws java.lang.CloneNotSupportedException [Inherited From ProjectComponent]
 
protectedabstract View createSnapshotView (View rawview) throws BuildException
  Derived classes must override createSnapshotView defining the kind of configured view appropriate to its task.
protectedfinal void disconnectFromServer ()
  disconnects from the StarTeam server.
public void execute () throws BuildException [Inherited From Task]
  Called by the project to let the task do its work.
public java.lang.String getDescription () [Inherited From ProjectComponent]
  Returns the description of the current action.
public Location getLocation () [Inherited From ProjectComponent]
  Returns the file/location where this task was defined.
public Target getOwningTarget () [Inherited From Task]
  Returns the container target of this task.
publicfinal java.lang.String getPassword ()
  returns the password used for login
public Project getProject () [Inherited From ProjectComponent]
  Returns the project to which this component belongs.
publicfinal java.lang.String getProjectname ()
  returns the name of the StarTeam project to be acted on
public RuntimeConfigurable getRuntimeConfigurableWrapper () [Inherited From Task]
  Returns the wrapper used for runtime configuration.
protectedfinal Server getServer ()
  returns a reference to the server which may be used for informational purposes by subclasses.
publicfinal java.lang.String getServername ()
  returns the name of the StarTeamServer
publicfinal java.lang.String getServerport ()
  returns the port number of the StarTeam connection
public java.lang.String getTaskName () [Inherited From Task]
  Returns the name to use in logging messages.
public java.lang.String getTaskType () [Inherited From Task]
  Return the type of task.
protectedfinal TypeNames getTypeNames ()
  returns a list of TypeNames known to the server.
publicfinal java.lang.String getURL ()
  a convenience method which returns the whole StarTeam connection information as a single URL string of
publicfinal java.lang.String getUserName ()
  returns the name of the StarTeam user
protectedfinal java.lang.String getUserName (int userID)
  Returns the name of the user with the supplied ID or a blank string if user not found.
publicfinal java.lang.String getViewname ()
  returns the name of the StarTeam view to be acted on
protectedfinal java.lang.String getViewURL ()
  returns an URL string useful for interacting with many StarTeamFinder methods.
protected RuntimeConfigurable getWrapper () [Inherited From Task]
  Return the runtime configurable structure for this task.
protected void handleErrorFlush (java.lang.String output) [Inherited From Task]
  Handles an error line by logging it with the WARN priority.
protected void handleErrorOutput (java.lang.String output) [Inherited From Task]
  Handles an error output by logging it with the WARN priority.
protected void handleFlush (java.lang.String output) [Inherited From Task]
  Handles output by logging it with the INFO priority.
protected int handleInput (byte[] buffer, int offset, int length) throws java.io.IOException [Inherited From Task]
  Handle an input request by this task.
protected void handleOutput (java.lang.String output) [Inherited From Task]
  Handles output by logging it with the INFO priority.
public void init () throws BuildException [Inherited From Task]
  Called by the project to let the task initialize properly.
protectedfinal boolean isInvalid () [Inherited From Task]
  Has this task been marked invalid?
public void log (java.lang.String msg) [Inherited From Task]
  Logs a message with the default (INFO) priority.
public void log (java.lang.String msg, int msgLevel) [Inherited From Task]
  Logs a message with the given priority.
public void log (java.lang.String msg, java.lang.Throwable t, int msgLevel) [Inherited From Task]
  Logs a message with the given priority.
public void log (java.lang.Throwable t, int msgLevel) [Inherited From Task]
  Logs a message with the given priority.
public void maybeConfigure () throws BuildException [Inherited From Task]
  Configures this task - if it hasn't been done already.
protected View openView () throws BuildException
  All subclasses will call on this method to open the view needed for processing.
publicfinal void perform () [Inherited From Task]
  Performs this task if it's still valid, or gets a replacement version and performs that otherwise.
public void reconfigure () [Inherited From Task]
Force the task to be reconfigured from its RuntimeConfigurable.
public void setDescription (java.lang.String desc) [Inherited From ProjectComponent]
  Sets a description of the current action.
public void setLocation (Location location) [Inherited From ProjectComponent]
  Sets the file/location where this task was defined.
public void setOwningTarget (Target target) [Inherited From Task]
  Sets the target container of this task.
publicfinal void setPassword (java.lang.String password)
  set the password to be used for login; required.
public void setProject (Project project) [Inherited From ProjectComponent]
  Sets the project object of this component.
publicfinal void setProjectname (java.lang.String projectname)
  set the name of the StarTeam project to be acted on; required if URL is not set.
public void setRuntimeConfigurableWrapper (RuntimeConfigurable wrapper) [Inherited From Task]
  Sets the wrapper to be used for runtime configuration.
publicfinal void setServername (java.lang.String servername)
  Set the name of StarTeamServer; required if URL is not set.
publicfinal void setServerport (java.lang.String serverport)
  set the port number of the StarTeam connection; required if URL is not set.
public void setTaskName (java.lang.String name) [Inherited From Task]
  Sets the name to use in logging messages.
public void setTaskType (java.lang.String type) [Inherited From Task]
  Sets the name with which the task has been invoked.
publicfinal void setURL (java.lang.String url)
  Set the server name, server port, project name and project folder in one shot; optional, but the server connection must be specified somehow.
publicfinal void setUserName (java.lang.String userName)
  set the name of the StarTeam user, needed for the connection
publicfinal void setViewname (java.lang.String viewname)
  set the name of the StarTeam view to be acted on; required if URL is not set.
Fields
Hide/Show inherited fields
protected java.lang.String description [Inherited From ProjectComponent]
Description of this component, if any.
protected Location location [Inherited From ProjectComponent]
Location within the build file of this task definition.
protected Project project [Inherited From ProjectComponent]
Project object of this component.
protected Target target [Inherited From Task]
Target this task belongs to, if any.
protected java.lang.String taskName [Inherited From Task]
  Name of this task to be used for logging purposes.
protected java.lang.String taskType [Inherited From Task]
Type of this task.
protected RuntimeConfigurable wrapper [Inherited From Task]
Wrapper for this object, used to configure it at runtime.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar