public final class ContainerManifest extends Manifest
| Constructor and Description |
|---|
ContainerManifest()
Creates a new, empty ContainerManifest.
|
ContainerManifest(String baseName,
org.kie.api.builder.ReleaseId releaseId,
boolean scan,
Long scanInterval,
String sessionName)
Creates a new ContainerManifest.
|
ContainerManifest(String baseName,
String releaseId,
boolean scan,
Long scanInterval,
String sessionName)
Creates a new ContainerManifest.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseName()
Gets the base name.
|
org.kie.api.runtime.KieContainer |
getKieContainer()
Gets the kie container.
|
org.kie.api.builder.ReleaseId |
getReleaseId()
Gets the release id.
|
Long |
getScanInterval()
Gets the scan interval.
|
String |
getSessionName()
Gets the session name.
|
boolean |
isScan()
If scanning is enabled.
|
static ContainerManifest |
removeFromEnvironment(org.kie.api.runtime.Environment environment)
Removes a ContainerManifest from the Environment.
|
void |
setKieContainer(org.kie.api.runtime.KieContainer kieContainer)
Sets the kie container.
|
static org.kie.api.builder.ReleaseId |
toReleaseId(String releaseId)
Converts a colon (':') separated string into a ReleaseId.
|
addToEnvironment, removeFromEnvironmentpublic ContainerManifest()
public ContainerManifest(String baseName, String releaseId, boolean scan, Long scanInterval, String sessionName)
baseName - the base namereleaseId - the release idscan - if scanning is enabledscanInterval - the scan intervalsessionName - the session namepublic ContainerManifest(String baseName, org.kie.api.builder.ReleaseId releaseId, boolean scan, Long scanInterval, String sessionName)
baseName - the base namereleaseId - the release idscan - if scanning is enabledscanInterval - the scan intervalsessionName - the session namepublic String getBaseName()
public org.kie.api.builder.ReleaseId getReleaseId()
public boolean isScan()
public Long getScanInterval()
public String getSessionName()
public org.kie.api.runtime.KieContainer getKieContainer()
public void setKieContainer(org.kie.api.runtime.KieContainer kieContainer)
kieContainer - the kie containerpublic static ContainerManifest removeFromEnvironment(org.kie.api.runtime.Environment environment)
environment - the Environmentpublic static org.kie.api.builder.ReleaseId toReleaseId(String releaseId)
releaseId - the stringCopyright © 2013–2017 JBoss by Red Hat. All rights reserved.