Class SynergyGetCompletedTasksConsumer
- java.lang.Object
-
- org.apache.maven.scm.util.AbstractConsumer
-
- org.apache.maven.scm.provider.synergy.consumer.SynergyGetCompletedTasksConsumer
-
- All Implemented Interfaces:
org.codehaus.plexus.util.cli.StreamConsumer
public class SynergyGetCompletedTasksConsumer extends AbstractConsumer
Mainly inspired from CruiseControl
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
ccmDateFormat
The date format as returned by your installation of CM Synergy.(package private) static java.lang.String
CCMDATEFORMAT_PROPERTY
Name of the System property to set the ccmDateFormatprivate java.lang.String
country
(package private) static java.lang.String
COUNTRY_PROPERTY
Name of the System property to set the countryprivate java.util.List<SynergyTask>
entries
private java.lang.String
language
(package private) static java.lang.String
LANGUAGE_PROPERTY
Name of the System property to set the languagestatic java.lang.String
OUTPUT_FORMAT
-
Constructor Summary
Constructors Constructor Description SynergyGetCompletedTasksConsumer(ScmLogger logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
consumeLine(java.lang.String line)
java.util.List<SynergyTask>
getTasks()
-
Methods inherited from class org.apache.maven.scm.util.AbstractConsumer
getLogger, parseDate, parseDate, setLogger
-
-
-
-
Field Detail
-
CCMDATEFORMAT_PROPERTY
static final java.lang.String CCMDATEFORMAT_PROPERTY
Name of the System property to set the ccmDateFormat- See Also:
- Constant Field Values
-
LANGUAGE_PROPERTY
static final java.lang.String LANGUAGE_PROPERTY
Name of the System property to set the language- See Also:
- Constant Field Values
-
COUNTRY_PROPERTY
static final java.lang.String COUNTRY_PROPERTY
Name of the System property to set the country- See Also:
- Constant Field Values
-
ccmDateFormat
private java.lang.String ccmDateFormat
The date format as returned by your installation of CM Synergy. Fri Dec 3 17:51:56 2004
-
language
private java.lang.String language
-
country
private java.lang.String country
-
OUTPUT_FORMAT
public static final java.lang.String OUTPUT_FORMAT
- See Also:
- Constant Field Values
-
entries
private java.util.List<SynergyTask> entries
-
-
Constructor Detail
-
SynergyGetCompletedTasksConsumer
public SynergyGetCompletedTasksConsumer(ScmLogger logger)
-
-
Method Detail
-
getTasks
public java.util.List<SynergyTask> getTasks()
- Returns:
- the tasks
-
consumeLine
public void consumeLine(java.lang.String line)
-
-