|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProcessControlService
Remote service interface definition. This service allows you to monitor and
control the different process managed by the Join application. Such process
are : the construction of an Assembly
, the deployments on integration
environments and the construction of a Build
. Typically, this service
is called by scripts executing these process and reporting success/failures
by setting Status
upon this artifacts and process.
All this service methods require authentication through the usage of the
login()
method. The security token returned by this method should
then be used as a parameter of every service call.
Method Summary | |
---|---|
RemoteStatus |
getAssemblyStatus(java.lang.String token,
java.lang.String key)
Retrieve the status of a specified Assembly . |
RemoteStatus |
getBuildStatus(java.lang.String token,
java.lang.String key)
Retrieve the status of a specified Build . |
RemoteStatus |
getDeploymentStatus(java.lang.String token,
long deploymentId)
Retrieve the status of a specified Deployment . |
void |
setAssemblyStatus(java.lang.String token,
java.lang.String statusKey,
java.lang.String assemblyKey)
Set the specified status to a specified Assembly . |
void |
setBuildStatus(java.lang.String token,
java.lang.String statusKey,
java.lang.String buildKey)
Set the specified status to a specified Build . |
void |
setDeploymentStatus(java.lang.String token,
java.lang.String statusKey,
long deploymentId)
Set the specified status to a specified Deployment . |
Methods inherited from interface org.figure8.join.services.remoting.AuthenticatedService |
---|
login, logout |
Method Detail |
---|
RemoteStatus getBuildStatus(java.lang.String token, java.lang.String key) throws InvalidSessionException, java.rmi.RemoteException
Build
.
token
- Authentication token provided earlier by login() methodkey
- The unique key identifier of Build to retrieve status for
RemoteStatus
corresponding to status of build identified by key
InvalidSessionException
- if user has no valid session on server-side
java.rmi.RemoteException
- if an exception occurs during the remote conversationvoid setBuildStatus(java.lang.String token, java.lang.String statusKey, java.lang.String buildKey) throws InvalidSessionException, java.rmi.RemoteException
Build
.
token
- Authentication token provided earlier by login() methodstatusKey
- Unique key idenitifer of the status to set to buildbuildKey
- The unique key idenitifer of Build to update status
InvalidSessionException
- if user has no valid session on server-side
java.rmi.RemoteException
- if an exception occurs during the remote conversationRemoteStatus getAssemblyStatus(java.lang.String token, java.lang.String key) throws InvalidSessionException, java.rmi.RemoteException
Assembly
.
token
- Authentication token provided earlier by login() methodkey
- The unique key identifier of Assembly to retrieve status for
RemoteStatus
corresponding to status of assembly identified by key
InvalidSessionException
- if user has no valid session on server-side
java.rmi.RemoteException
- if an exception occurs during the remote conversationvoid setAssemblyStatus(java.lang.String token, java.lang.String statusKey, java.lang.String assemblyKey) throws InvalidSessionException, java.rmi.RemoteException
Assembly
.
token
- Authentication token provided earlier by login() methodstatusKey
- Unique key idenitifer of the status to set to assemblyassemblyKey
- The unique key idenitifer of Assembly to update status
InvalidSessionException
- if user has no valid session on server-side
java.rmi.RemoteException
- if an exception occurs during the remote conversationRemoteStatus getDeploymentStatus(java.lang.String token, long deploymentId) throws InvalidSessionException, java.rmi.RemoteException
Deployment
.
token
- Authentication token provided earlier by login() methoddeploymentId
- The unique identifier of Deployment to retrieve status for
RemoteStatus
corresponding to status of deployment identified by deploymentId
InvalidSessionException
- if user has no valid session on server-side
java.rmi.RemoteException
- if an exception occurs during the remote conversationvoid setDeploymentStatus(java.lang.String token, java.lang.String statusKey, long deploymentId) throws InvalidSessionException, java.rmi.RemoteException
Deployment
.
token
- Authentication token provided earlier by login() methodstatusKey
- Unique key idenitifer of the status to set to deploymentdeploymentId
- The unique identifier of Deployment to retrieve status for
InvalidSessionException
- if user has no valid session on server-side
java.rmi.RemoteException
- if an exception occurs during the remote conversation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |