## Uses of Interface
org.jbpm.services.api.model.DeploymentUnit

- Packages that use DeploymentUnit
  Package | Description
  --- | ---
  org.jbpm.casemgmt.api.utils |
  org.jbpm.casemgmt.impl.utils |
  org.jbpm.kie.services.impl |
  org.jbpm.kie.services.impl.store |
  org.jbpm.kie.services.impl.utils |
  org.jbpm.services.api |
  org.jbpm.services.api.model |
  org.jbpm.services.api.utils |
  org.jbpm.services.cdi.impl |
  org.jbpm.services.ejb.api |
  org.jbpm.services.ejb.impl |
  org.jbpm.test.services |

- - ### Uses of DeploymentUnit in org.jbpm.casemgmt.api.utils

    Methods in org.jbpm.casemgmt.api.utils that return DeploymentUnit
    Modifier and Type | Method and Description
    --- | ---
    `DeploymentUnit` | CaseServiceConfigurator.`createDeploymentUnit(String groupId, String artifactid, String version)`

  - ### Uses of DeploymentUnit in org.jbpm.casemgmt.impl.utils

    Methods in org.jbpm.casemgmt.impl.utils that return DeploymentUnit
    Modifier and Type | Method and Description
    --- | ---
    `DeploymentUnit` | DefaultCaseServiceConfigurator.`createDeploymentUnit(String groupId, String artifactid, String version)`

  - ### Uses of DeploymentUnit in org.jbpm.kie.services.impl

    Classes in org.jbpm.kie.services.impl that implement DeploymentUnit
    Modifier and Type | Class and Description
    --- | ---
    `class` | `CustomIdKModuleDeploymentUnit`
    `class` | `KModuleDeploymentUnit`

    Methods in org.jbpm.kie.services.impl that return DeploymentUnit
    Modifier and Type | Method and Description
    --- | ---
    `DeploymentUnit` | DeployedUnitImpl.`getDeploymentUnit()`

    Methods in org.jbpm.kie.services.impl with parameters of type DeploymentUnit
    Modifier and Type | Method and Description
    --- | ---
    `void` | AbstractDeploymentService.`commonDeploy(DeploymentUnit unit, DeployedUnitImpl deployedUnit, org.kie.api.runtime.manager.RuntimeEnvironment environemnt, org.kie.api.runtime.KieContainer kieContainer)`
    `void` | KModuleDeploymentService.`deploy(DeploymentUnit unit)`
    `void` | AbstractDeploymentService.`deploy(DeploymentUnit unit)`
    `void` | AbstractDeploymentService.`notifyOnActivate(DeploymentUnit unit, DeployedUnit deployedUnit)`
    `void` | AbstractDeploymentService.`notifyOnDeactivate(DeploymentUnit unit, DeployedUnit deployedUnit)`
    `void` | AbstractDeploymentService.`notifyOnDeploy(DeploymentUnit unit, DeployedUnit deployedUnit)`
    `void` | AbstractDeploymentService.`notifyOnUnDeploy(DeploymentUnit unit, DeployedUnit deployedUnit)`
    `protected void` | KModuleDeploymentService.`processResources(org.drools.compiler.kie.builder.impl.InternalKieModule module, Collection<String> files, org.kie.api.runtime.KieContainer kieContainer, DeploymentUnit unit, DeployedUnitImpl deployedUnit, org.kie.api.builder.ReleaseId releaseId, Map<String,ProcessDescriptor> processes)` Goes through all files in a deployment, and processes them so that they are then ready for use after deployment.
    `void` | AbstractDeploymentService.`undeploy(DeploymentUnit unit)`
    `void` | KModuleDeploymentService.`undeploy(DeploymentUnit unit, Function<DeploymentUnit,Boolean> beforeUndeploy)`
    `void` | AbstractDeploymentService.`undeploy(DeploymentUnit unit, Function<DeploymentUnit,Boolean> beforeUndeploy)`

    Method parameters in org.jbpm.kie.services.impl with type arguments of type DeploymentUnit
    Modifier and Type | Method and Description
    --- | ---
    `void` | KModuleDeploymentService.`undeploy(DeploymentUnit unit, Function<DeploymentUnit,Boolean> beforeUndeploy)`
    `void` | AbstractDeploymentService.`undeploy(DeploymentUnit unit, Function<DeploymentUnit,Boolean> beforeUndeploy)`

    Constructors in org.jbpm.kie.services.impl with parameters of type DeploymentUnit
    Constructor and Description
    `DeployedUnitImpl(DeploymentUnit unit)`

  - ### Uses of DeploymentUnit in org.jbpm.kie.services.impl.store

    Methods in org.jbpm.kie.services.impl.store that return types with arguments of type DeploymentUnit
    Modifier and Type | Method and Description
    --- | ---
    `Collection<DeploymentUnit>` | DeploymentStore.`getDeactivatedDeploymentUnits()`
    `Collection<DeploymentUnit>` | DeploymentStore.`getEnabledDeploymentUnits()`

    Methods in org.jbpm.kie.services.impl.store with parameters of type DeploymentUnit
    Modifier and Type | Method and Description
    --- | ---
    `void` | DeploymentStore.`activateDeploymentUnit(DeploymentUnit unit)`
    `void` | DeploymentStore.`deactivateDeploymentUnit(DeploymentUnit unit)`
    `void` | DeploymentStore.`disableDeploymentUnit(DeploymentUnit unit)`
    `void` | DeploymentStore.`enableDeploymentUnit(DeploymentUnit unit)`
    `void` | DeploymentStore.`markDeploymentUnitAsObsolete(DeploymentUnit unit)`

    Method parameters in org.jbpm.kie.services.impl.store with type arguments of type DeploymentUnit
    Modifier and Type | Method and Description
    --- | ---
    `void` | DeploymentStore.`getDeploymentUnitsByDate(Date date, Collection<DeploymentUnit> enabled, Collection<DeploymentUnit> disabled, Collection<DeploymentUnit> activated, Collection<DeploymentUnit> deactivated)`
    `void` | DeploymentStore.`getDeploymentUnitsByDate(Date date, Collection<DeploymentUnit> enabled, Collection<DeploymentUnit> disabled, Collection<DeploymentUnit> activated, Collection<DeploymentUnit> deactivated)`
    `void` | DeploymentStore.`getDeploymentUnitsByDate(Date date, Collection<DeploymentUnit> enabled, Collection<DeploymentUnit> disabled, Collection<DeploymentUnit> activated, Collection<DeploymentUnit> deactivated)`
    `void` | DeploymentStore.`getDeploymentUnitsByDate(Date date, Collection<DeploymentUnit> enabled, Collection<DeploymentUnit> disabled, Collection<DeploymentUnit> activated, Collection<DeploymentUnit> deactivated)`

  - ### Uses of DeploymentUnit in org.jbpm.kie.services.impl.utils

    Methods in org.jbpm.kie.services.impl.utils that return DeploymentUnit
    Modifier and Type | Method and Description
    --- | ---
    `DeploymentUnit` | DefaultKieServiceConfigurator.`createDeploymentUnit(String groupId, String artifactid, String version)`

    Methods in org.jbpm.kie.services.impl.utils that return types with arguments of type DeploymentUnit
    Modifier and Type | Method and Description
    --- | ---
    `static Function<DeploymentUnit,Boolean>` | PreUndeployOperations.`abortUnitActiveProcessInstances(RuntimeDataService runtimeDataService, DeploymentService deploymentService)` Returns a function that checks if a given `DeploymentUnit` has active process instances instances, aborts them and, if nothing wrong happened, lets the undeployment operation continue.
    `static Function<DeploymentUnit,Boolean>` | PreUndeployOperations.`checkActiveProcessInstances(RuntimeDataService runtimeDataService)` Returns a function that checks if a given `DeploymentUnit` has active process instances and prevents its undeployment.
    `static Function<DeploymentUnit,Boolean>` | PreUndeployOperations.`doNothing()` Returns a function that bypasses the check and always allows to undeploy.

  - ### Uses of DeploymentUnit in org.jbpm.services.api

    Methods in org.jbpm.services.api with parameters of type DeploymentUnit
    Modifier and Type | Method and Description
    --- | ---
    `void` | DeploymentService.`deploy(DeploymentUnit unit)` Performs deployment operation of given `unit`.
    `void` | DeploymentService.`undeploy(DeploymentUnit unit)` Performs undeployment operation of given `unit`.
    `void` | DeploymentService.`undeploy(DeploymentUnit unit, Function<DeploymentUnit,Boolean> beforeUndeploy)` Performs undeployment operation of given `unit` aborting existing process instances if needed.

    Method parameters in org.jbpm.services.api with type arguments of type DeploymentUnit
    Modifier and Type | Method and Description
    --- | ---
    `void` | DeploymentService.`undeploy(DeploymentUnit unit, Function<DeploymentUnit,Boolean> beforeUndeploy)` Performs undeployment operation of given `unit` aborting existing process instances if needed.

  - ### Uses of DeploymentUnit in org.jbpm.services.api.model

    Methods in org.jbpm.services.api.model that return DeploymentUnit
    Modifier and Type | Method and Description
    --- | ---
    `DeploymentUnit` | DeployedUnit.`getDeploymentUnit()` Returns the deployed unit.

  - ### Uses of DeploymentUnit in org.jbpm.services.api.utils

    Methods in org.jbpm.services.api.utils that return DeploymentUnit
    Modifier and Type | Method and Description
    --- | ---
    `DeploymentUnit` | KieServiceConfigurator.`createDeploymentUnit(String groupId, String artifactid, String version)` Created a new deployment unit

  - ### Uses of DeploymentUnit in org.jbpm.services.cdi.impl

    Methods in org.jbpm.services.cdi.impl with parameters of type DeploymentUnit
    Modifier and Type | Method and Description
    --- | ---
    `void` | DeploymentServiceCDIImpl.`notifyOnActivate(DeploymentUnit unit, DeployedUnit deployedUnit)`
    `void` | DeploymentServiceCDIImpl.`notifyOnDeactivate(DeploymentUnit unit, DeployedUnit deployedUnit)`
    `void` | DeploymentServiceCDIImpl.`notifyOnDeploy(DeploymentUnit unit, DeployedUnit deployedUnit)`
    `void` | DeploymentServiceCDIImpl.`notifyOnUnDeploy(DeploymentUnit unit, DeployedUnit deployedUnit)`

  - ### Uses of DeploymentUnit in org.jbpm.services.ejb.api

    Method parameters in org.jbpm.services.ejb.api with type arguments of type DeploymentUnit
    Modifier and Type | Method and Description
    --- | ---
    `void` | DeploymentServiceEJBRemote.`undeploy(String deploymentId, Function<DeploymentUnit,Boolean> beforeUndeploy)` Undeploys currently active deployment unit identified by given deploymentId

  - ### Uses of DeploymentUnit in org.jbpm.services.ejb.impl

    Methods in org.jbpm.services.ejb.impl with parameters of type DeploymentUnit
    Modifier and Type | Method and Description
    --- | ---
    `void` | DeploymentServiceEJBImpl.`deploy(DeploymentUnit unit)`

    Method parameters in org.jbpm.services.ejb.impl with type arguments of type DeploymentUnit
    Modifier and Type | Method and Description
    --- | ---
    `void` | DeploymentServiceEJBImpl.`undeploy(String deploymentId, Function<DeploymentUnit,Boolean> beforeUndeploy)`

  - ### Uses of DeploymentUnit in org.jbpm.test.services

    Fields in org.jbpm.test.services declared as DeploymentUnit
    Modifier and Type | Field and Description
    --- | ---
    `protected DeploymentUnit` | AbstractKieServicesTest.`deploymentUnit`
    `protected DeploymentUnit` | AbstractCaseServicesTest.`deploymentUnit`

    Methods in org.jbpm.test.services that return DeploymentUnit
    Modifier and Type | Method and Description
    --- | ---
    `protected DeploymentUnit` | AbstractServicesTest.`createAndDeployUnit(String groupId, String artifactid, String version)`
    `protected abstract DeploymentUnit` | AbstractServicesTest.`createDeploymentUnit(String groupId, String artifactid, String version)`
    `protected DeploymentUnit` | AbstractKieServicesTest.`createDeploymentUnit(String groupId, String artifactid, String version)`
    `protected DeploymentUnit` | AbstractCaseServicesTest.`createDeploymentUnit(String groupId, String artifactid, String version)`
    `protected abstract DeploymentUnit` | AbstractServicesTest.`prepareDeploymentUnit()`

Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.