API Overview API Index Package Overview Direct link to this page
Apache Ant 1.7.1
  org.apache.tools.ant.taskdefs.optional.perforce. P4Resolve View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      ProjectComponent
          Task
              P4Base
                  P4Resolve
Implements
Subclasses
Description
public class P4Resolve
See also:   
Constructors
public P4Resolve ()
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]
 
protected void execP4Command (java.lang.String command) throws BuildException [Inherited From P4Base]
  no usages found for this method runs a Perforce command without a handler
protected void execP4Command (java.lang.String command, P4Handler handler) throws BuildException [Inherited From P4Base]
  Execute P4 command assembled by subclasses.
public void execute () throws BuildException [Overrides Task]
  execute the p4 resolve
public java.lang.String getDescription () [Inherited From ProjectComponent]
  Returns the description of the current action.
public java.lang.String getErrorMessage () [Inherited From P4Base]
  gets the error message recorded by the Perforce handler
public boolean getInError () [Inherited From P4Base]
  gets whether or not the task has encountered an error
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.
public Project getProject () [Inherited From ProjectComponent]
  Returns the project to which this component belongs.
public java.lang.String getResolvemode ()
  returns the resolve mode
public RuntimeConfigurable getRuntimeConfigurableWrapper () [Inherited From Task]
  Returns the wrapper used for runtime configuration.
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.
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 () [Inherited From P4Base]
  sets attributes Port, Client, User from properties if these properties are defined.
public boolean isForcetextmode ()
  If set to true, attempts a textual merge, even for binary files
protectedfinal boolean isInvalid () [Inherited From Task]
  Has this task been marked invalid?
public boolean isMarkersforall ()
  If set to true, puts in markers for all changes, conflicting or not
public boolean isRedoall ()
  allows previously resolved files to be resolved again
public boolean isSimulationmode ()
  read the simulation mode flag
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.
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 setClient (java.lang.String p4Client) [Inherited From P4Base]
  The p4 client spec to use; optional, defaults to the current user
public void setCmdopts (java.lang.String p4CmdOpts) [Inherited From P4Base]
  Set extra command options; only used on some of the Perforce tasks.
public void setDescription (java.lang.String desc) [Inherited From ProjectComponent]
  Sets a description of the current action.
public void setErrorMessage (java.lang.String errorMessage) [Inherited From P4Base]
  sets the error message
public void setFailonerror (boolean fail) [Inherited From P4Base]
  whether to stop the build (true, default) or keep going if an error is returned from the p4 command
public void setForcetextmode (boolean forcetextmode)
  If set to true, attempts a textual merge, even for binary files
public void setGlobalopts (java.lang.String p4Opts) [Inherited From P4Base]
  Set global P4 options; Used on all of the Perforce tasks.
public void setInError (boolean inError) [Inherited From P4Base]
  sets the error flag on the task
public void setLocation (Location location) [Inherited From ProjectComponent]
  Sets the file/location where this task was defined.
public void setMarkersforall (boolean markersforall)
  If set to true, puts in markers for all changes, conflicting or not
public void setOwningTarget (Target target) [Inherited From Task]
  Sets the target container of this task.
public void setPort (java.lang.String p4Port) [Inherited From P4Base]
  The p4d server and port to connect to; optional, default "perforce:1666"
public void setProject (Project project) [Inherited From ProjectComponent]
  Sets the project object of this component.
public void setRedoall (boolean redoall)
  set the redoall flag
public void setResolvemode (java.lang.String resolvemode)
  values for resolvemode automatic -am force -af safe -as theirs -at yours -ay
public void setRuntimeConfigurableWrapper (RuntimeConfigurable wrapper) [Inherited From Task]
  Sets the wrapper to be used for runtime configuration.
public void setSimulationmode (boolean simulationmode)
  sets a flag
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.
public void setUser (java.lang.String p4User) [Inherited From P4Base]
  The p4 username; optional, defaults to the current user
public void setView (java.lang.String p4View) [Inherited From P4Base]
  The client, branch or label view to operate upon; optional default "//...".
Fields
Hide/Show inherited fields
protected java.lang.String description [Inherited From ProjectComponent]
Description of this component, if any.
protected boolean failOnError [Inherited From P4Base]
Keep going or fail on error - defaults to fail.
protected Location location [Inherited From ProjectComponent]
Location within the build file of this task definition.
protected java.lang.String P4Client [Inherited From P4Base]
Perforce Client (eg myclientspec)
protected java.lang.String P4CmdOpts [Inherited From P4Base]
  Perforce command opts.
protected java.lang.String P4Opts [Inherited From P4Base]
  Perforce 'global' opts.
protected java.lang.String P4Port [Inherited From P4Base]
Perforce Server Port (eg KM01:1666)
protected java.lang.String P4User [Inherited From P4Base]
Perforce User (eg fbloggs)
protected java.lang.String P4View [Inherited From P4Base]
  Perforce view for commands.
protected Project project [Inherited From ProjectComponent]
Project object of this component.
protected java.lang.String shell [Inherited From P4Base]
The OS shell to use (cmd.exe or /bin/sh)
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 Perl5Util util [Inherited From P4Base]
Perl5 regexp in Java - cool eh?
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