KIE Remote Services :: REST API 6.2.0.Final

org.kie.remote.services.rest.api
Interface DeploymentResource


public interface DeploymentResource


Method Summary
 javax.ws.rs.core.Response deploy(JaxbDeploymentDescriptor deployDescriptor)
          Queues a request to deploy the given deployment unit.
 javax.ws.rs.core.Response getConfig()
          Retrieve the status of the DeploymentUnit specified in the URL.
 javax.ws.rs.core.Response listProcessDefinitions()
           
 javax.ws.rs.core.Response undeploy()
          Queues a request to undeploy the deployment unit specified in the URL
 

Method Detail

getConfig

javax.ws.rs.core.Response getConfig()
Retrieve the status of the DeploymentUnit specified in the URL.

Returns:
A JaxbDeploymentUnit instance

deploy

javax.ws.rs.core.Response deploy(JaxbDeploymentDescriptor deployDescriptor)
Queues a request to deploy the given deployment unit. If the deployment already exist, this operation will fail.

Parameters:
deployDescriptor - An optional DeploymentDescriptor instance specifying additional information about how the deployment unit should be deployed.
Returns:
A JaxbDeploymentJobResult instance with the initial status of the job

undeploy

javax.ws.rs.core.Response undeploy()
Queues a request to undeploy the deployment unit specified in the URL

Returns:
A JaxbDeploymentJobResult instance with the initial status of the job

listProcessDefinitions

javax.ws.rs.core.Response listProcessDefinitions()

KIE Remote Services :: REST API 6.2.0.Final

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