@Singleton public class DeployResourceBase extends ResourceBase
DeploymentResourceImpl and the
DeploymentsResourceImpl.
It contains methods and fields common to both REST resource implementations.paginationParams, PROC_INST_ID_PARAM_NAME, processRequestBean, wrapperPrimitives| Constructor and Description |
|---|
DeployResourceBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(String deploymentId) |
void |
deactivate(String deploymentId) |
JaxbDeploymentUnit |
determineStatus(String deploymentId,
boolean checkDeploymentService)
Determines the status of a deployment
|
void |
fillProcessDefinitionList(String deploymentId,
int[] pageInfo,
int maxNumResults,
List<JaxbProcessDefinition> procDefList) |
JaxbDeploymentUnitList |
getDeploymentList(int[] pageInfo,
int maxNumResults) |
JaxbProcessDefinitionList |
getProcessDefinitionList(int[] pageInfo,
int maxNumResults) |
JaxbDeploymentJobResult |
submitDeployJob(String deploymentId,
String strategy,
String mergeMode,
JaxbDeploymentDescriptor deployDescriptor) |
JaxbDeploymentJobResult |
submitUndeployJob(String deploymentId) |
convertProcAssetDescToJaxbProcDef, convertStringListToStatusList, convertTaskToTaskSummary, createCorrectVariant, createCorrectVariant, doRestTaskOperation, doRestTaskOperationWithDeploymentId, doRestTaskOperationWithTaskId, extractMapFromParams, getAuditLogService, getBaseUri, getEnum, getLongListParam, getMaxNumResultsNeeded, getNumberParam, getObjectParam, getOrganizationalEntityListFromParams, getPageNumAndPageSize, getRelativePath, getRequestParams, getRequestUri, getStringListParam, getStringListParamAsList, getStringParam, isPrimitiveOrWrapper, paginate, paginateAndCreateResult, paginateAndCreateResult, restProcessJaxbCommandsRequest, setProcessRequestBean, wrapPrimitivepublic JaxbDeploymentUnit determineStatus(String deploymentId, boolean checkDeploymentService)
checkDeploymentService - Whether or not to use the DeploymentService when checking the statusJaxbDeploymentUnit representing the statuspublic JaxbDeploymentJobResult submitDeployJob(String deploymentId, String strategy, String mergeMode, JaxbDeploymentDescriptor deployDescriptor)
public JaxbDeploymentJobResult submitUndeployJob(String deploymentId)
public JaxbDeploymentUnitList getDeploymentList(int[] pageInfo, int maxNumResults)
public JaxbProcessDefinitionList getProcessDefinitionList(int[] pageInfo, int maxNumResults)
public void fillProcessDefinitionList(String deploymentId, int[] pageInfo, int maxNumResults, List<JaxbProcessDefinition> procDefList)
public void activate(String deploymentId)
public void deactivate(String deploymentId)
Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.