Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 import  javax.enterprise.context.RequestScoped;
import  org.kie.api.command.Command;
public class ExecuteResourceImpl extends ResourceBase {

The "/execute" method is an "internal" method that is used by the kie-remote-client classes It is not meant to be used "externally".

cmdsRequest The JaxbCommandsRequest containing the Command and other necessary info.
A JaxbCommandsResponse with the result from the Command
    public JaxbCommandsResponse execute(JaxbCommandsRequest cmdsRequest) {
        return restProcessJaxbCommandsRequest(cmdsRequest);
New to GrepCode? Check out our FAQ X