public class SynergyTaskManager extends Object
Constructor and Description |
---|
SynergyTaskManager() |
Modifier and Type | Method and Description |
---|---|
void |
checkinDefaultTask(ScmLogger logger,
String comment,
String ccmAddr)
Check in (that is: complete) the default task.
|
int |
createTask(ScmLogger logger,
String synopsis,
String release,
boolean defaultTask,
String ccmAddr)
If necessary create a new task.
|
static SynergyTaskManager |
getInstance() |
public SynergyTaskManager()
public static SynergyTaskManager getInstance()
public int createTask(ScmLogger logger, String synopsis, String release, boolean defaultTask, String ccmAddr) throws ScmException
logger
- a logger.synopsis
- short description of task.release
- release.defaultTask
- should this task become the default task?ccmAddr
- current Synergy session ID. Used to run in multi-session.ScmException
public void checkinDefaultTask(ScmLogger logger, String comment, String ccmAddr) throws ScmException
SynergyTaskManager
or, if none is managed, the default task.SynergyTaskManager
AND no default task is set, then this is
an error.SynergyTaskManager
has already been checked in AND no
default task is set, then it is assumed that all files that were checked out are already checked in because
checking in a task checks in all files associated with it.logger
- a logger.comment
- a comment for checkin.ccmAddr
- current Synergy session ID. Used to run in multi-session.ScmException
Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.