hudson.plugins.sctmexecutor.service
Class SCTMService

java.lang.Object
  extended by hudson.plugins.sctmexecutor.service.SCTMService
All Implemented Interfaces:
ISCTMService

public class SCTMService
extends java.lang.Object
implements ISCTMService


Constructor Summary
SCTMService(java.lang.String serviceURL, java.lang.String user, java.lang.String pwd, int projectId)
           
 
Method Summary
 boolean addBuildNumber(int buildNumber, int nodeId)
           
 boolean buildNumberExists(int buildNumber, int nodeId)
           
 ExecutionResult getExecutionResult(ExecutionHandle handle)
           
 boolean isFinished(ExecutionHandle handle)
           
 java.util.Collection<ExecutionHandle> start(int executionId)
           
 java.util.Collection<ExecutionHandle> start(int executionId, java.lang.String buildNumber)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SCTMService

public SCTMService(java.lang.String serviceURL,
                   java.lang.String user,
                   java.lang.String pwd,
                   int projectId)
            throws SCTMException
Throws:
SCTMException
Method Detail

start

public java.util.Collection<ExecutionHandle> start(int executionId)
                                            throws SCTMException
Specified by:
start in interface ISCTMService
Throws:
SCTMException

start

public java.util.Collection<ExecutionHandle> start(int executionId,
                                                   java.lang.String buildNumber)
                                            throws SCTMException
Specified by:
start in interface ISCTMService
Throws:
SCTMException

isFinished

public boolean isFinished(ExecutionHandle handle)
                   throws SCTMException
Specified by:
isFinished in interface ISCTMService
Throws:
SCTMException

getExecutionResult

public ExecutionResult getExecutionResult(ExecutionHandle handle)
                                   throws SCTMException
Specified by:
getExecutionResult in interface ISCTMService
Throws:
SCTMException

addBuildNumber

public boolean addBuildNumber(int buildNumber,
                              int nodeId)
                       throws SCTMException
Specified by:
addBuildNumber in interface ISCTMService
Throws:
SCTMException

buildNumberExists

public boolean buildNumberExists(int buildNumber,
                                 int nodeId)
                          throws SCTMException
Specified by:
buildNumberExists in interface ISCTMService
Throws:
SCTMException


Copyright © 2010. All Rights Reserved.