|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.deluan.jenkins.plugins.rtc.JazzClient
public class JazzClient
Encapsulates the invocation of RTC's SCM Command Line Interface, "scm".
| Field Summary | |
|---|---|
static String |
SCM_CMD
|
| Constructor Summary | |
|---|---|
JazzClient(hudson.Launcher launcher,
hudson.model.TaskListener listener,
hudson.FilePath jobWorkspace,
String jazzExecutable,
String user,
String password,
String repositoryLocation,
String streamName,
String workspaceName)
|
|
| Method Summary | |
|---|---|
List<JazzChangeSet> |
accept()
Call scm accept command. |
hudson.FilePath |
getJobWorkspace()
|
String |
getPassword()
|
String |
getRepositoryLocation()
|
String |
getStreamName()
|
String |
getUsername()
|
String |
getWorkspaceName()
|
boolean |
hasChanges()
Returns true if there is any incoming changes to be accepted. |
boolean |
load()
Call scm load command. |
boolean |
stopDaemon()
Call scm daemon stop command. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String SCM_CMD
| Constructor Detail |
|---|
public JazzClient(hudson.Launcher launcher,
hudson.model.TaskListener listener,
hudson.FilePath jobWorkspace,
String jazzExecutable,
String user,
String password,
String repositoryLocation,
String streamName,
String workspaceName)
| Method Detail |
|---|
public boolean hasChanges()
throws IOException,
InterruptedException
IOException
InterruptedException
public boolean load()
throws IOException,
InterruptedException
IOException
InterruptedException
public boolean stopDaemon()
throws IOException,
InterruptedException
IOException
InterruptedException
public List<JazzChangeSet> accept()
throws IOException,
InterruptedException
IOException
InterruptedExceptionpublic String getRepositoryLocation()
getRepositoryLocation in interface JazzConfigurationProviderpublic String getWorkspaceName()
getWorkspaceName in interface JazzConfigurationProviderpublic String getStreamName()
getStreamName in interface JazzConfigurationProviderpublic String getUsername()
getUsername in interface JazzConfigurationProviderpublic String getPassword()
getPassword in interface JazzConfigurationProviderpublic hudson.FilePath getJobWorkspace()
getJobWorkspace in interface JazzConfigurationProvider
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||