public class DeployedUnitImpl extends Object implements DeployedUnit
| Constructor and Description |
|---|
DeployedUnitImpl(DeploymentUnit unit) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAssetLocation(String assetId,
ProcessAssetDesc processAsset) |
void |
addClass(Class<?> kModuleClass) |
String |
getDeployedAssetLocation(String assetId)
Returns the deployed asset location.
|
Collection<DeployedAsset> |
getDeployedAssets()
Returns the deployed assets.
|
Collection<Class<?>> |
getDeployedClasses()
Returns the deployed classes.
|
DeploymentUnit |
getDeploymentUnit()
Returns the deployed unit.
|
org.kie.api.runtime.manager.RuntimeManager |
getRuntimeManager()
Returns the runtime manager.
|
boolean |
isActive()
Returns the active state of the deployment unit.
|
void |
setActive(boolean active) |
void |
setRuntimeManager(org.kie.api.runtime.manager.RuntimeManager manager) |
public DeployedUnitImpl(DeploymentUnit unit)
public DeploymentUnit getDeploymentUnit()
DeployedUnitgetDeploymentUnit in interface DeployedUnitDeploymentUnit deploymentunitpublic String getDeployedAssetLocation(String assetId)
DeployedUnitgetDeployedAssetLocation in interface DeployedUnitpublic org.kie.api.runtime.manager.RuntimeManager getRuntimeManager()
DeployedUnitgetRuntimeManager in interface DeployedUnitRuntimeManager runtime managerpublic void addAssetLocation(String assetId, ProcessAssetDesc processAsset)
public void addClass(Class<?> kModuleClass)
public void setRuntimeManager(org.kie.api.runtime.manager.RuntimeManager manager)
public Collection<DeployedAsset> getDeployedAssets()
DeployedUnitgetDeployedAssets in interface DeployedUnitDeployedAsset assetspublic Collection<Class<?>> getDeployedClasses()
DeployedUnitgetDeployedClasses in interface DeployedUnitClass classespublic boolean isActive()
DeployedUnitisActive in interface DeployedUnitpublic void setActive(boolean active)
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.