com.borland.tm.webservices.tmexecution
Class ExecutionWebServiceProxy

java.lang.Object
  extended by com.borland.tm.webservices.tmexecution.ExecutionWebServiceProxy
All Implemented Interfaces:
ExecutionWebService, java.rmi.Remote

public class ExecutionWebServiceProxy
extends java.lang.Object
implements ExecutionWebService


Constructor Summary
ExecutionWebServiceProxy()
           
ExecutionWebServiceProxy(java.lang.String endpoint)
           
 
Method Summary
 int addNode(long sessionId, ExecutionNode node, int parentId)
           
 void deleteNode(long sessionId, int nodeId)
           
 ExecutionNode[] getChildNodes(long sessionId, int parentNodeId)
           
 int getCurrentProject(long sessionId)
           
 java.lang.String getEndpoint()
           
 ExecutionResult getExecutionResult(long sessionId, ExecutionHandle handle)
           
 ExecutionNode getExecutionRootNode(long sessionId, int projectId)
           
 ExecutionWebService getExecutionWebService()
           
 ExecutionNode getNode(long sessionId, int nodeId)
           
 ExecutionNode[] getNodes(long sessionId, java.lang.String name)
           
 java.lang.String[] getPropertyIds(long sessionId, int kind)
           
 PropertyMetaInfo getPropertyInfo(long sessionId, int kind, java.lang.String id)
           
 int getStateOfExecution(long sessionId, ExecutionHandle handle)
           
 void setCurrentProject(long sessionId, int projectId)
           
 void setEndpoint(java.lang.String endpoint)
           
 ExecutionHandle[] startExecution(long sessionId, int nodeId)
           
 ExecutionHandle[] startExecution(long sessionId, int nodeId, java.lang.String build, int option, java.lang.String sinceBuild)
           
 void updateNode(long sessionId, ExecutionNode node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecutionWebServiceProxy

public ExecutionWebServiceProxy()

ExecutionWebServiceProxy

public ExecutionWebServiceProxy(java.lang.String endpoint)
Method Detail

getEndpoint

public java.lang.String getEndpoint()

setEndpoint

public void setEndpoint(java.lang.String endpoint)

getExecutionWebService

public ExecutionWebService getExecutionWebService()

getChildNodes

public ExecutionNode[] getChildNodes(long sessionId,
                                     int parentNodeId)
                              throws java.rmi.RemoteException
Specified by:
getChildNodes in interface ExecutionWebService
Throws:
java.rmi.RemoteException

getNode

public ExecutionNode getNode(long sessionId,
                             int nodeId)
                      throws java.rmi.RemoteException
Specified by:
getNode in interface ExecutionWebService
Throws:
java.rmi.RemoteException

addNode

public int addNode(long sessionId,
                   ExecutionNode node,
                   int parentId)
            throws java.rmi.RemoteException
Specified by:
addNode in interface ExecutionWebService
Throws:
java.rmi.RemoteException

getPropertyInfo

public PropertyMetaInfo getPropertyInfo(long sessionId,
                                        int kind,
                                        java.lang.String id)
                                 throws java.rmi.RemoteException
Specified by:
getPropertyInfo in interface ExecutionWebService
Throws:
java.rmi.RemoteException

getExecutionResult

public ExecutionResult getExecutionResult(long sessionId,
                                          ExecutionHandle handle)
                                   throws java.rmi.RemoteException
Specified by:
getExecutionResult in interface ExecutionWebService
Throws:
java.rmi.RemoteException

deleteNode

public void deleteNode(long sessionId,
                       int nodeId)
                throws java.rmi.RemoteException
Specified by:
deleteNode in interface ExecutionWebService
Throws:
java.rmi.RemoteException

updateNode

public void updateNode(long sessionId,
                       ExecutionNode node)
                throws java.rmi.RemoteException
Specified by:
updateNode in interface ExecutionWebService
Throws:
java.rmi.RemoteException

getPropertyIds

public java.lang.String[] getPropertyIds(long sessionId,
                                         int kind)
                                  throws java.rmi.RemoteException
Specified by:
getPropertyIds in interface ExecutionWebService
Throws:
java.rmi.RemoteException

getCurrentProject

public int getCurrentProject(long sessionId)
                      throws java.rmi.RemoteException
Specified by:
getCurrentProject in interface ExecutionWebService
Throws:
java.rmi.RemoteException

setCurrentProject

public void setCurrentProject(long sessionId,
                              int projectId)
                       throws java.rmi.RemoteException
Specified by:
setCurrentProject in interface ExecutionWebService
Throws:
java.rmi.RemoteException

getExecutionRootNode

public ExecutionNode getExecutionRootNode(long sessionId,
                                          int projectId)
                                   throws java.rmi.RemoteException
Specified by:
getExecutionRootNode in interface ExecutionWebService
Throws:
java.rmi.RemoteException

getNodes

public ExecutionNode[] getNodes(long sessionId,
                                java.lang.String name)
                         throws java.rmi.RemoteException
Specified by:
getNodes in interface ExecutionWebService
Throws:
java.rmi.RemoteException

getStateOfExecution

public int getStateOfExecution(long sessionId,
                               ExecutionHandle handle)
                        throws java.rmi.RemoteException
Specified by:
getStateOfExecution in interface ExecutionWebService
Throws:
java.rmi.RemoteException

startExecution

public ExecutionHandle[] startExecution(long sessionId,
                                        int nodeId,
                                        java.lang.String build,
                                        int option,
                                        java.lang.String sinceBuild)
                                 throws java.rmi.RemoteException
Specified by:
startExecution in interface ExecutionWebService
Throws:
java.rmi.RemoteException

startExecution

public ExecutionHandle[] startExecution(long sessionId,
                                        int nodeId)
                                 throws java.rmi.RemoteException
Specified by:
startExecution in interface ExecutionWebService
Throws:
java.rmi.RemoteException


Copyright © 2008. All Rights Reserved.