hudson.plugins.synergy.util
Class SessionUtils
java.lang.Object
hudson.plugins.synergy.util.SessionUtils
public class SessionUtils
- extends java.lang.Object
Utility class to open and close a session.
|
Method Summary |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SessionUtils
public SessionUtils()
openSession
public static Commands openSession(hudson.FilePath path,
SynergySCM synergySCM,
hudson.model.TaskListener listener,
hudson.Launcher launcher)
throws java.io.IOException,
java.lang.InterruptedException,
SynergyException
- Open or resuse a Synergy session.
- Parameters:
path - The workarea pathsynergySCM - The Synergy SCM configurationlistener - The build listenerlauncher - The command launcher
- Returns:
- A Synergy command launcher
- Throws:
java.io.IOException
java.lang.InterruptedException
SynergyException
closeSession
public static void closeSession(hudson.FilePath path,
SynergySCM synergySCM,
Commands commands)
throws java.io.IOException,
java.lang.InterruptedException,
SynergyException
- Close the Synergy session, if configured too.
- Parameters:
path - The workarea path.synergySCM - The Synergy SCM configurationcommands - The Synergy command launcher
- Throws:
java.io.IOException
java.lang.InterruptedException
SynergyException
Copyright © 2008-2009. All Rights Reserved.