public class SynergyCCM extends Object
ccm
command line.Constructor and Description |
---|
SynergyCCM() |
Modifier and Type | Method and Description |
---|---|
static org.codehaus.plexus.util.cli.Commandline |
checkinFiles(List<File> files,
String comment,
String ccmAddr)
Create commandline to checkin a fileset
|
static org.codehaus.plexus.util.cli.Commandline |
checkinProject(String projectSpec,
String comment,
String ccmAddr)
Create commandline to checkin a project
|
static org.codehaus.plexus.util.cli.Commandline |
checkinTask(String taskSpecs,
String comment,
String ccmAddr)
Create command line for checkin a task
|
static org.codehaus.plexus.util.cli.Commandline |
checkoutFiles(List<File> files,
String ccmAddr)
Create commandline to checkout a fileset.
|
static org.codehaus.plexus.util.cli.Commandline |
checkoutProject(File directory,
String projectSpec,
ScmVersion version,
String purpose,
String release,
String ccmAddr)
Create commandline to checkout a project
|
static org.codehaus.plexus.util.cli.Commandline |
create(List<File> files,
String message,
String ccmAddr)
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 ccmAddr)
Create command line for creating a baseline.
|
static org.codehaus.plexus.util.cli.Commandline |
createTask(String synopsis,
String release,
boolean defaultTask,
String ccmAddr)
Create command line for creating a task
|
static org.codehaus.plexus.util.cli.Commandline |
delete(List<File> files,
String ccmAddr,
boolean replace)
Create command line for deleting file(s).
|
static org.codehaus.plexus.util.cli.Commandline |
delimiter(String ccmAddr)
Create commandline to get Synergy database delimiter
|
static org.codehaus.plexus.util.cli.Commandline |
dir(File directory,
String format,
String ccmAddr)
Create command line to perform a dir on the directory.
|
static org.codehaus.plexus.util.cli.Commandline |
query(String query,
String format,
String ccmAddr)
Create commandline for query.
|
static org.codehaus.plexus.util.cli.Commandline |
reconcileUdb(String projectSpec,
String ccmAddr)
Create command line to reconcile a project with udb option.
|
static org.codehaus.plexus.util.cli.Commandline |
reconcileUwa(String projectSpec,
String ccmAddr)
Create command line to reconcile a project with uwa option.
|
static org.codehaus.plexus.util.cli.Commandline |
reconfigure(String projectSpec,
String ccmAddr)
Create commandline to reconfigure a project.
|
static org.codehaus.plexus.util.cli.Commandline |
reconfigureProperties(String projectSpec,
String ccmAddr)
Create commandline to reconfigure properties of a project.
|
static org.codehaus.plexus.util.cli.Commandline |
setDefaultTask(int task,
String ccmAddr)
Create commandline to set current (i.e.
|
static org.codehaus.plexus.util.cli.Commandline |
showDefaultTask(String ccmAddr)
Create commandline to get current (i.e.
|
static org.codehaus.plexus.util.cli.Commandline |
showTaskObjects(int taskNumber,
String format,
String ccmAddr)
Create commandline for getting list of objects in a task.
|
static org.codehaus.plexus.util.cli.Commandline |
showWorkArea(String projectSpec,
String ccmAddr)
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 |
startRemote(String username,
String password,
SynergyRole role)
Create commandline to start a remote Synergy session
|
static org.codehaus.plexus.util.cli.Commandline |
stop(String ccmAddr)
Create commandline to stop a Synergy session
|
static org.codehaus.plexus.util.cli.Commandline |
synchronize(String projectSpec,
String ccmAddr)
Create commandline to synchronize a project
|
public SynergyCCM()
public static org.codehaus.plexus.util.cli.Commandline showTaskObjects(int taskNumber, String format, String ccmAddr) throws ScmException
taskNumber
- Task number.format
- Output format.ccmAddr
- ScmException
public static org.codehaus.plexus.util.cli.Commandline query(String query, String format, String ccmAddr) throws ScmException
query
- query.format
- Output formatccmAddr
- ScmException
public static org.codehaus.plexus.util.cli.Commandline createBaseline(String projectSpec, String name, String release, String purpose, String ccmAddr) throws ScmException
projectSpec
- project_name~project_versionname
- Name of the baselinerelease
- the release.purpose
- the purpose.ccmAddr
- ScmException
public static org.codehaus.plexus.util.cli.Commandline create(List<File> files, String message, String ccmAddr) throws ScmException
files
- fileset.message
- message log, or null if none.ccmAddr
- ScmException
public static org.codehaus.plexus.util.cli.Commandline createTask(String synopsis, String release, boolean defaultTask, String ccmAddr) throws ScmException
synopsis
- synopsis.release
- release.defaultTask
- default.ccmAddr
- ScmException
public static org.codehaus.plexus.util.cli.Commandline checkinTask(String taskSpecs, String comment, String ccmAddr) throws ScmException
taskSpecs
- task_specs or defaultcomment
- comment.ccmAddr
- ScmException
public static org.codehaus.plexus.util.cli.Commandline delete(List<File> files, String ccmAddr, boolean replace) throws ScmException
files
- fileset.ccmAddr
- replace
- replace with previous version of file ?ScmException
public static org.codehaus.plexus.util.cli.Commandline reconfigure(String projectSpec, String ccmAddr) throws ScmException
projectSpec
- ccmAddr
- ScmException
public static org.codehaus.plexus.util.cli.Commandline reconfigureProperties(String projectSpec, String ccmAddr) throws ScmException
projectSpec
- ccmAddr
- ScmException
public static org.codehaus.plexus.util.cli.Commandline reconcileUwa(String projectSpec, String ccmAddr) throws ScmException
projectSpec
- ccmAddr
- ScmException
public static org.codehaus.plexus.util.cli.Commandline reconcileUdb(String projectSpec, String ccmAddr) throws ScmException
projectSpec
- ccmAddr
- ScmException
public static org.codehaus.plexus.util.cli.Commandline dir(File directory, String format, String ccmAddr) throws ScmException
directory
- format
- Output format.ccmAddr
- ScmException
public static org.codehaus.plexus.util.cli.Commandline checkoutFiles(List<File> files, String ccmAddr) throws ScmException
files
- fileset.ccmAddr
- ScmException
public static org.codehaus.plexus.util.cli.Commandline checkoutProject(File directory, String projectSpec, ScmVersion version, String purpose, String release, String ccmAddr) throws ScmException
directory
- target WA, or null if using default directoryprojectSpec
- version
- new version of the project, or null if using default Synergy
mecanismccmAddr
- ScmException
public static org.codehaus.plexus.util.cli.Commandline checkinProject(String projectSpec, String comment, String ccmAddr) throws ScmException
projectSpec
- comment
- ccmAddr
- ScmException
public static org.codehaus.plexus.util.cli.Commandline checkinFiles(List<File> files, String comment, String ccmAddr) throws ScmException
files
- fileset.comment
- ccmAddr
- ScmException
public static org.codehaus.plexus.util.cli.Commandline synchronize(String projectSpec, String ccmAddr) throws ScmException
projectSpec
- ccmAddr
- ScmException
public static org.codehaus.plexus.util.cli.Commandline showWorkArea(String projectSpec, String ccmAddr) throws ScmException
projectSpec
- ccmAddr
- ScmException
public static org.codehaus.plexus.util.cli.Commandline stop(String ccmAddr) throws ScmException
ccmAddr
- 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 startRemote(String username, String password, SynergyRole role) throws ScmException
username
- password
- role
- ScmException
public static org.codehaus.plexus.util.cli.Commandline delimiter(String ccmAddr) throws ScmException
ScmException
public static org.codehaus.plexus.util.cli.Commandline showDefaultTask(String ccmAddr) throws ScmException
ccmAddr
- current Synergy session IDScmException
public static org.codehaus.plexus.util.cli.Commandline setDefaultTask(int task, String ccmAddr) throws ScmException
task
- the number of the task to set as current taskccmAddr
- current Synergy session IDScmException
Copyright © 2003–2021 The Apache Software Foundation. All rights reserved.