public class SynergyWorkareaConsumer extends Object implements org.codehaus.plexus.util.cli.StreamConsumer
ccm wa -show -p <project_spec>
Constructor and Description |
---|
SynergyWorkareaConsumer(ScmLogger logger) |
Modifier and Type | Method and Description |
---|---|
void |
consumeLine(String line)
We are expecting the following output:
|
File |
getWorkAreaPath() |
public SynergyWorkareaConsumer(ScmLogger logger)
public void consumeLine(String line)
Project Maintain Copies Relative Time Translate Modify Path ------------------------------------------------------------------- BGZBFZH˜1 TRUE TRUE FALSE FALSE TRUE FALSE 'D:\cmsynergy\ccm_wa\LAPOSTE\BGZBFZH˜1'
And we want to extract:
D:\cmsynergy\ccm_wa\LAPOSTE\BGZBFZH˜1 <pre>
consumeLine
in interface org.codehaus.plexus.util.cli.StreamConsumer
public File getWorkAreaPath()
Copyright © 2003–2021 The Apache Software Foundation. All rights reserved.