Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.kie.remote.services.rest;
 
 import  javax.enterprise.context.RequestScoped;
 
import  org.kie.api.command.Command;
@Path("/execute")
@RequestScoped
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".

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