|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
org.apache.maven.scm.provider.accurev.cli.XppStreamConsumer
public abstract class XppStreamConsumer
This class is required because Plexus command line won't let you get to the process stream output process.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary |
|---|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
XppStreamConsumer(ScmLogger logger)
|
|
| Method Summary | |
|---|---|
protected void |
caughtParseException(java.lang.Exception e)
|
void |
consumeLine(java.lang.String line)
|
protected void |
endTag(java.util.List<java.lang.String> tagPath)
|
ScmLogger |
getLogger()
|
protected static java.lang.String |
getTagName(java.util.List<java.lang.String> tagPath)
|
protected void |
parse(org.codehaus.plexus.util.xml.pull.XmlPullParser p)
|
void |
run()
|
protected void |
startTag(java.util.List<java.lang.String> tagPath,
java.util.Map<java.lang.String,java.lang.String> attributes)
|
protected void |
text(java.util.List<java.lang.String> tagPath,
java.lang.String text)
|
void |
waitComplete()
close the input and wait for parsing to complete |
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public XppStreamConsumer(ScmLogger logger)
| Method Detail |
|---|
public ScmLogger getLogger()
public final void consumeLine(java.lang.String line)
consumeLine in interface org.codehaus.plexus.util.cli.StreamConsumerpublic void run()
run in interface java.lang.Runnablerun in class java.lang.Threadprotected void caughtParseException(java.lang.Exception e)
protected void parse(org.codehaus.plexus.util.xml.pull.XmlPullParser p)
throws org.codehaus.plexus.util.xml.pull.XmlPullParserException,
java.io.IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
java.io.IOExceptionpublic void waitComplete()
protected void startTag(java.util.List<java.lang.String> tagPath,
java.util.Map<java.lang.String,java.lang.String> attributes)
protected static java.lang.String getTagName(java.util.List<java.lang.String> tagPath)
protected void endTag(java.util.List<java.lang.String> tagPath)
protected void text(java.util.List<java.lang.String> tagPath,
java.lang.String text)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||