|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.guvnor.server.builder.ContentPackageAssembler
public class ContentPackageAssembler
This assembles packages in the BRMS into binary package objects, and deals with errors etc. Each content type is responsible for contributing to the package.
Nested Class Summary | |
---|---|
class |
ContentPackageAssembler.ErrorLogger
This is passed in to the compilers so extra errors can be added. |
Constructor Summary | |
---|---|
ContentPackageAssembler(AssetItem assetToBuild)
Use this if you want to build and compile just the one asset. |
|
ContentPackageAssembler(PackageItem pkg)
Use this if you want to build the whole package. |
|
ContentPackageAssembler(PackageItem pkg,
boolean compile)
|
|
ContentPackageAssembler(PackageItem assetPackage,
boolean compile,
String buildMode,
String statusOperator,
String statusDescriptionValue,
boolean enableStatusSelector,
String categoryOperator,
String categoryValue,
boolean enableCategorySelector,
String selectorConfigName)
|
|
ContentPackageAssembler(RuleAsset asset,
PackageItem packageItem)
|
Method Summary | |
---|---|
void |
createBuilder()
|
org.drools.rule.Package |
getBinaryPackage()
I've got a package people ! |
BRMSPackageBuilder |
getBuilder()
|
String |
getDRL()
|
List<ContentAssemblyError> |
getErrors()
|
boolean |
hasErrors()
|
boolean |
isPackageConfigurationInError()
This will return true if there is an error in the package configuration or functions. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContentPackageAssembler(PackageItem pkg)
pkg
- The package.public ContentPackageAssembler(PackageItem pkg, boolean compile)
pkg
- The package.compile
- true if we want to build it. False and its just for looking at
source.public ContentPackageAssembler(PackageItem assetPackage, boolean compile, String buildMode, String statusOperator, String statusDescriptionValue, boolean enableStatusSelector, String categoryOperator, String categoryValue, boolean enableCategorySelector, String selectorConfigName)
assetPackage
- The package.compile
- true if we want to build it. False and its just for looking at
source.selectorConfigName
- public ContentPackageAssembler(AssetItem assetToBuild)
public ContentPackageAssembler(RuleAsset asset, PackageItem packageItem)
Method Detail |
---|
public void createBuilder()
public boolean isPackageConfigurationInError()
public org.drools.rule.Package getBinaryPackage()
public boolean hasErrors()
public List<ContentAssemblyError> getErrors()
public BRMSPackageBuilder getBuilder()
public String getDRL()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |