KIE Remote Services :: Services 6.1.0.CR2

org.kie.remote.services.rest.async.cmd
Class DeploymentCmd

java.lang.Object
  extended by org.kie.remote.services.rest.async.cmd.DeploymentCmd
All Implemented Interfaces:
org.kie.internal.executor.api.Command

public class DeploymentCmd
extends Object
implements org.kie.internal.executor.api.Command

This command is executed by the jbpm-executor asynchronously.

It contains the logic to deploy or undeploy a deployment


Field Summary
static String DEPLOYMENT_UNIT
           
static String JOB_ID
           
static String JOB_TYPE
           
 
Constructor Summary
DeploymentCmd()
           
 
Method Summary
 org.kie.internal.executor.api.ExecutionResults execute(org.kie.internal.executor.api.CommandContext ctx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEPLOYMENT_UNIT

public static final String DEPLOYMENT_UNIT
See Also:
Constant Field Values

JOB_TYPE

public static final String JOB_TYPE
See Also:
Constant Field Values

JOB_ID

public static final String JOB_ID
See Also:
Constant Field Values
Constructor Detail

DeploymentCmd

public DeploymentCmd()
Method Detail

execute

public org.kie.internal.executor.api.ExecutionResults execute(org.kie.internal.executor.api.CommandContext ctx)
                                                       throws Exception
Specified by:
execute in interface org.kie.internal.executor.api.Command
Throws:
Exception

KIE Remote Services :: Services 6.1.0.CR2

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.