org.kie.remote.services.rest
Class DeployResourceBase
java.lang.Object
org.kie.remote.services.rest.ResourceBase
org.kie.remote.services.rest.DeployResourceBase
@Singleton
public class DeployResourceBase
- extends ResourceBase
This class is extended by both the DeploymentResourceImpl and the
DeploymentsResourceImpl.
It contains methods and fields common to both REST resource implementations.
| Methods inherited from class org.kie.remote.services.rest.ResourceBase |
convertProcAssetDescToJaxbProcDef, convertStringListToStatusList, convertTaskToTaskSummary, createCorrectVariant, createCorrectVariant, doRestTaskOperation, doRestTaskOperationWithDeploymentId, doRestTaskOperationWithTaskId, extractMapFromParams, getAuditLogService, getBaseUri, getEnum, getLongListParam, getMaxNumResultsNeeded, getNumberParam, getObjectParam, getOrganizationalEntityListFromParams, getPageNumAndPageSize, getRelativePath, getRequestParams, getRequestUri, getStringListParam, getStringListParamAsList, getStringParam, paginate, paginateAndCreateResult, paginateAndCreateResult, restProcessJaxbCommandsRequest, setProcessRequestBean |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeployResourceBase
public DeployResourceBase()
determineStatus
public JaxbDeploymentUnit determineStatus(String deploymentId,
boolean checkDeploymentService)
- Determines the status of a deployment
- Parameters:
checkDeploymentService - Whether or not to use the DeploymentService when checking the status
- Returns:
- A
JaxbDeploymentUnit representing the status
submitDeployJob
public JaxbDeploymentJobResult submitDeployJob(String deploymentId,
String strategy,
String mergeMode,
JaxbDeploymentDescriptor deployDescriptor)
submitUndeployJob
public JaxbDeploymentJobResult submitUndeployJob(String deploymentId)
getDeploymentList
public JaxbDeploymentUnitList getDeploymentList(int[] pageInfo,
int maxNumResults)
getProcessDefinitionList
public JaxbProcessDefinitionList getProcessDefinitionList(int[] pageInfo,
int maxNumResults)
fillProcessDefinitionList
public void fillProcessDefinitionList(String deploymentId,
int[] pageInfo,
int maxNumResults,
List<JaxbProcessDefinition> procDefList)
activate
public void activate(String deploymentId)
deactivate
public void deactivate(String deploymentId)
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.