Class DefinitionResource


  • @Path("server/containers/{containerId}/processes/definitions")
    public class DefinitionResource
    extends Object
    • Constructor Detail

      • DefinitionResource

        public DefinitionResource()
      • DefinitionResource

        public DefinitionResource​(org.kie.server.services.jbpm.DefinitionServiceBase definitionServiceBase,
                                  org.kie.server.services.api.KieServerRegistry context)
    • Method Detail

      • getProcessDefinition

        @GET
        @Path("{processId}")
        @Produces({"application/json","application/xml"})
        public javax.ws.rs.core.Response getProcessDefinition​(@Context
                                                              javax.ws.rs.core.HttpHeaders headers,
                                                              @PathParam("containerId")
                                                              String containerId,
                                                              @PathParam("processId")
                                                              String processId)
      • getReusableSubProcesses

        @GET
        @Path("{processId}/subprocesses")
        @Produces({"application/json","application/xml"})
        public javax.ws.rs.core.Response getReusableSubProcesses​(@Context
                                                                 javax.ws.rs.core.HttpHeaders headers,
                                                                 @PathParam("containerId")
                                                                 String containerId,
                                                                 @PathParam("processId")
                                                                 String processId)
      • getProcessVariables

        @GET
        @Path("{processId}/variables")
        @Produces({"application/json","application/xml"})
        public javax.ws.rs.core.Response getProcessVariables​(@Context
                                                             javax.ws.rs.core.HttpHeaders headers,
                                                             @PathParam("containerId")
                                                             String containerId,
                                                             @PathParam("processId")
                                                             String processId)
      • getServiceTasks

        @GET
        @Path("{processId}/tasks/service")
        @Produces({"application/json","application/xml"})
        public javax.ws.rs.core.Response getServiceTasks​(@Context
                                                         javax.ws.rs.core.HttpHeaders headers,
                                                         @PathParam("containerId")
                                                         String containerId,
                                                         @PathParam("processId")
                                                         String processId)
      • getAssociatedEntities

        @GET
        @Path("{processId}/entities")
        @Produces({"application/json","application/xml"})
        public javax.ws.rs.core.Response getAssociatedEntities​(@Context
                                                               javax.ws.rs.core.HttpHeaders headers,
                                                               @PathParam("containerId")
                                                               String containerId,
                                                               @PathParam("processId")
                                                               String processId)
      • getTasksDefinitions

        @GET
        @Path("{processId}/tasks/users")
        @Produces({"application/json","application/xml"})
        public javax.ws.rs.core.Response getTasksDefinitions​(@Context
                                                             javax.ws.rs.core.HttpHeaders headers,
                                                             @PathParam("containerId")
                                                             String containerId,
                                                             @PathParam("processId")
                                                             String processId)
      • getTaskInputMappings

        @GET
        @Path("{processId}/tasks/users/{taskName}/inputs")
        @Produces({"application/json","application/xml"})
        public javax.ws.rs.core.Response getTaskInputMappings​(@Context
                                                              javax.ws.rs.core.HttpHeaders headers,
                                                              @PathParam("containerId")
                                                              String containerId,
                                                              @PathParam("processId")
                                                              String processId,
                                                              @PathParam("taskName")
                                                              String taskName)
      • getTaskOutputMappings

        @GET
        @Path("{processId}/tasks/users/{taskName}/outputs")
        @Produces({"application/json","application/xml"})
        public javax.ws.rs.core.Response getTaskOutputMappings​(@Context
                                                               javax.ws.rs.core.HttpHeaders headers,
                                                               @PathParam("containerId")
                                                               String containerId,
                                                               @PathParam("processId")
                                                               String processId,
                                                               @PathParam("taskName")
                                                               String taskName)