Class SynergyWorkareaConsumer
java.lang.Object
org.apache.maven.scm.provider.synergy.consumer.SynergyWorkareaConsumer
- All Implemented Interfaces:
org.codehaus.plexus.util.cli.StreamConsumer
public class SynergyWorkareaConsumer
extends Object
implements org.codehaus.plexus.util.cli.StreamConsumer
Parse output of
ccm wa -show -p <project_spec>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
consumeLine
(String line) We are expecting the following output:
-
Field Details
-
logger
-
workarea
-
-
Constructor Details
-
SynergyWorkareaConsumer
-
-
Method Details
-
consumeLine
We are expecting the following output: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>
- Specified by:
consumeLine
in interfaceorg.codehaus.plexus.util.cli.StreamConsumer
-
getWorkAreaPath
-