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()
DeployedUnit
getDeploymentUnit
in interface DeployedUnit
DeploymentUnit
deploymentunitpublic String getDeployedAssetLocation(String assetId)
DeployedUnit
getDeployedAssetLocation
in interface DeployedUnit
public org.kie.api.runtime.manager.RuntimeManager getRuntimeManager()
DeployedUnit
getRuntimeManager
in interface DeployedUnit
RuntimeManager
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()
DeployedUnit
getDeployedAssets
in interface DeployedUnit
DeployedAsset
assetspublic Collection<Class<?>> getDeployedClasses()
DeployedUnit
getDeployedClasses
in interface DeployedUnit
Class
classespublic boolean isActive()
DeployedUnit
isActive
in interface DeployedUnit
public void setActive(boolean active)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.