public class SessionUtils extends Object
Constructor and Description |
---|
SessionUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
closeSession(hudson.FilePath path,
SynergySCM synergySCM,
Commands commands)
Close the Synergy session, if configured too.
|
static Commands |
openSession(hudson.FilePath path,
SynergySCM synergySCM,
hudson.model.TaskListener listener,
hudson.Launcher launcher)
Open or resuse a Synergy session.
|
public static Commands openSession(hudson.FilePath path, SynergySCM synergySCM, hudson.model.TaskListener listener, hudson.Launcher launcher) throws IOException, InterruptedException, SynergyException
path
- The workarea pathsynergySCM
- The Synergy SCM configurationlistener
- The build listenerlauncher
- The command launcherIOException
InterruptedException
SynergyException
public static void closeSession(hudson.FilePath path, SynergySCM synergySCM, Commands commands) throws IOException, InterruptedException, SynergyException
path
- The workarea path.synergySCM
- The Synergy SCM configurationcommands
- The Synergy command launcherIOException
InterruptedException
SynergyException
Copyright © 2008-2013. All Rights Reserved.