|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.scm.provider.synergy.util.SynergyCCM
public class SynergyCCM
This class contains methods to execute Synergy ccm command line.
Constructor Summary | |
---|---|
SynergyCCM()
|
Method Summary | |
---|---|
static org.codehaus.plexus.util.cli.Commandline |
checkinFiles(List files,
String comment,
String CCM_ADDR)
Create commandline to checkin a fileset |
static org.codehaus.plexus.util.cli.Commandline |
checkinProject(String project_spec,
String comment,
String CCM_ADDR)
Create commandline to checkin a project |
static org.codehaus.plexus.util.cli.Commandline |
checkinTask(String task_specs,
String comment,
String CCM_ADDR)
Create command line for checkin a task |
static org.codehaus.plexus.util.cli.Commandline |
checkoutFiles(List files,
String CCM_ADDR)
Create commandline to checkout a fileset. |
static org.codehaus.plexus.util.cli.Commandline |
checkoutProject(File directory,
String project_spec,
ScmVersion version,
String purpose,
String release,
String CCM_ADDR)
Create commandline to checkout a project |
static org.codehaus.plexus.util.cli.Commandline |
create(List files,
String message,
String CCM_ADDR)
Create command line for adding a fileset to a project |
static org.codehaus.plexus.util.cli.Commandline |
createBaseline(String projectSpec,
String name,
String release,
String purpose,
String CCM_ADDR)
Create command line for creating a baseline. |
static org.codehaus.plexus.util.cli.Commandline |
createTask(String synopsis,
String release,
boolean defaultTask,
String CCM_ADDR)
Create command line for creating a task |
static org.codehaus.plexus.util.cli.Commandline |
delete(List files,
String CCM_ADDR,
boolean replace)
Create command line for deleting file(s). |
static org.codehaus.plexus.util.cli.Commandline |
delimiter(String CCM_ADDR)
Create commandline to get Synergy database delimiter |
static org.codehaus.plexus.util.cli.Commandline |
dir(File directory,
String format,
String CCM_ADDR)
Create command line to perform a dir on the directory. |
static org.codehaus.plexus.util.cli.Commandline |
query(String query,
String format,
String CCM_ADDR)
Create commandline for query. |
static org.codehaus.plexus.util.cli.Commandline |
reconcileUdb(String project_spec,
String CCM_ADDR)
Create command line to reconcile a project with udb option. |
static org.codehaus.plexus.util.cli.Commandline |
reconcileUwa(String project_spec,
String CCM_ADDR)
Create command line to reconcile a project with uwa option. |
static org.codehaus.plexus.util.cli.Commandline |
reconfigure(String project_spec,
String CCM_ADDR)
Create commandline to reconfigure a project. |
static org.codehaus.plexus.util.cli.Commandline |
reconfigureProperties(String project_spec,
String CCM_ADDR)
Create commandline to reconfigure properties of a project. |
static org.codehaus.plexus.util.cli.Commandline |
showTaskObjects(int taskNumber,
String format,
String CCM_ADDR)
Create commandline for getting list of objects in a task. |
static org.codehaus.plexus.util.cli.Commandline |
showWorkArea(String project_spec,
String CCM_ADDR)
Create commandline to get workarea informations for a given project. |
static org.codehaus.plexus.util.cli.Commandline |
start(String username,
String password,
SynergyRole role)
Create commandline to start a Synergy session |
static org.codehaus.plexus.util.cli.Commandline |
stop(String CCM_ADDR)
Create commandline to stop a Synergy session |
static org.codehaus.plexus.util.cli.Commandline |
synchronize(String project_spec,
String CCM_ADDR)
Create commandline to synchronize a project |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SynergyCCM()
Method Detail |
---|
public static org.codehaus.plexus.util.cli.Commandline showTaskObjects(int taskNumber, String format, String CCM_ADDR) throws ScmException
taskNumber
- Task number.format
- Output format.CCM_ADDR
-
ScmException
public static org.codehaus.plexus.util.cli.Commandline query(String query, String format, String CCM_ADDR) throws ScmException
query
- query.format
- Output formatCCM_ADDR
-
ScmException
public static org.codehaus.plexus.util.cli.Commandline createBaseline(String projectSpec, String name, String release, String purpose, String CCM_ADDR) throws ScmException
projectSpec
- project_name~project_versionname
- Name of the baselinerelease
- the release.purpose
- the purpose.CCM_ADDR
-
ScmException
public static org.codehaus.plexus.util.cli.Commandline create(List files, String message, String CCM_ADDR) throws ScmException
files
- fileset.message
- message log, or null if none.CCM_ADDR
-
ScmException
public static org.codehaus.plexus.util.cli.Commandline createTask(String synopsis, String release, boolean defaultTask, String CCM_ADDR) throws ScmException
synopsis
- synopsis.release
- release.defaultTask
- default.CCM_ADDR
-
ScmException
public static org.codehaus.plexus.util.cli.Commandline checkinTask(String task_specs, String comment, String CCM_ADDR) throws ScmException
task_specs
- task_specs or defaultcomment
- comment.CCM_ADDR
-
ScmException
public static org.codehaus.plexus.util.cli.Commandline delete(List files, String CCM_ADDR, boolean replace) throws ScmException
files
- fileset.CCM_ADDR
- replace
- replace with previous version of file ?
ScmException
public static org.codehaus.plexus.util.cli.Commandline reconfigure(String project_spec, String CCM_ADDR) throws ScmException
project_spec
- CCM_ADDR
-
ScmException
public static org.codehaus.plexus.util.cli.Commandline reconfigureProperties(String project_spec, String CCM_ADDR) throws ScmException
project_spec
- CCM_ADDR
-
ScmException
public static org.codehaus.plexus.util.cli.Commandline reconcileUwa(String project_spec, String CCM_ADDR) throws ScmException
project_spec
- CCM_ADDR
-
ScmException
public static org.codehaus.plexus.util.cli.Commandline reconcileUdb(String project_spec, String CCM_ADDR) throws ScmException
project_spec
- CCM_ADDR
-
ScmException
public static org.codehaus.plexus.util.cli.Commandline dir(File directory, String format, String CCM_ADDR) throws ScmException
directory
- format
- Output format.CCM_ADDR
-
ScmException
public static org.codehaus.plexus.util.cli.Commandline checkoutFiles(List files, String CCM_ADDR) throws ScmException
files
- fileset.CCM_ADDR
-
ScmException
public static org.codehaus.plexus.util.cli.Commandline checkoutProject(File directory, String project_spec, ScmVersion version, String purpose, String release, String CCM_ADDR) throws ScmException
directory
- target WA, or null if using default directoryproject_spec
- version
- new version of the project, or null if using default Synergy
mecanismCCM_ADDR
-
ScmException
public static org.codehaus.plexus.util.cli.Commandline checkinProject(String project_spec, String comment, String CCM_ADDR) throws ScmException
project_spec
- comment
- CCM_ADDR
-
ScmException
public static org.codehaus.plexus.util.cli.Commandline checkinFiles(List files, String comment, String CCM_ADDR) throws ScmException
files
- fileset.comment
- CCM_ADDR
-
ScmException
public static org.codehaus.plexus.util.cli.Commandline synchronize(String project_spec, String CCM_ADDR) throws ScmException
project_spec
- CCM_ADDR
-
ScmException
public static org.codehaus.plexus.util.cli.Commandline showWorkArea(String project_spec, String CCM_ADDR) throws ScmException
project_spec
- CCM_ADDR
-
ScmException
public static org.codehaus.plexus.util.cli.Commandline stop(String CCM_ADDR) throws ScmException
CCM_ADDR
-
ScmException
public static org.codehaus.plexus.util.cli.Commandline start(String username, String password, SynergyRole role) throws ScmException
username
- password
- role
-
ScmException
public static org.codehaus.plexus.util.cli.Commandline delimiter(String CCM_ADDR) throws ScmException
ScmException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |