Class WsExecutionControl

java.lang.Object
io.vertigo.orchestra.webservices.WsExecutionControl
All Implemented Interfaces:
io.vertigo.core.node.component.Component, io.vertigo.core.node.component.CoreComponent, io.vertigo.vega.webservice.WebServices

@PathPrefix("/orchestra/executionsControl") public class WsExecutionControl extends Object implements io.vertigo.vega.webservice.WebServices
WebService API for managing Executions
Version:
$Id$
Author:
mlaroche.
  • Constructor Details

    • WsExecutionControl

      public WsExecutionControl()
  • Method Details

    • endExecution

      @POST("/onSuccess") @SessionLess @AnonymousAccessAllowed public void endExecution(@InnerBodyParam("aceId") Long activityExecutionId, @InnerBodyParam("token") String token)
      Termine une exécution mise en attente.
      Parameters:
      activityExecutionId - l'id de l'activité en attente
      token - le token de sécurité
    • onError

      @POST("/onError") @SessionLess @AnonymousAccessAllowed public void onError(@InnerBodyParam("aceId") Long activityExecutionId, @InnerBodyParam("token") String token, @InnerBodyParam("errorMessage") String errorMessage)
      Termine une exécution mise en attente.
      Parameters:
      activityExecutionId - l'id de l'activité en attente
      token - le token de sécurité
      errorMessage - Message d'erreur du tier
    • executeNow

      @POST("/execute") @SessionLess @AnonymousAccessAllowed public void executeNow(@InnerBodyParam("processName") String processName, @InnerBodyParam("initialParams") Map<String,String> initialParams)
      Lance l'execution d'un processus.
      Parameters:
      processName - le nom du processus à lancer
      initialParams - des éventuels paramètres supplémentaire
    • executeNowIhm

      @POST("/executeNow") public void executeNowIhm(@InnerBodyParam("processName") String processName)
      Lance l'execution d'un processus avec son id.
      Parameters:
      processName - l'id du processus à lancer