org.apache.tools.ant.taskdefs.optional.perforce
Interface P4Handler
- ExecuteStreamHandler
- P4HandlerAdapter, P4Submit.P4SubmitAdapter, SimpleP4OutputHandler
public interface P4Handler
Interface for p4 job output stream handler. Classes implementing this interface
can be called back by P4Base.execP4Command();
void | process(String line)- processing of one line of stdout or of stderr
|
void | setOutput(String line)- set any data to be written to P4's stdin
|
process
public void process(String line)
throws BuildException processing of one line of stdout or of stderr
line - a line of stdout or stderr that the implementation will process
setOutput
public void setOutput(String line)
throws BuildException set any data to be written to P4's stdin
line - the text to write to P4's stdin
Copyright B) 2000-2006 Apache Software Foundation. All Rights Reserved.