|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.drools.brms.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 assetPackage)
Use this if you want to build the whole package. |
|
ContentPackageAssembler(PackageItem assetPackage,
boolean compile)
|
Method Summary | |
---|---|
Package |
getBinaryPackage()
I've got a package people ! |
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 assetPackage, boolean compile)
assetPackage
- The package.compile
- true if we want to build it. False and its just for looking at source.public ContentPackageAssembler(PackageItem assetPackage)
public ContentPackageAssembler(AssetItem assetToBuild)
Method Detail |
---|
public boolean isPackageConfigurationInError()
public Package getBinaryPackage()
public boolean hasErrors()
public List<ContentAssemblyError> getErrors()
public String getDRL()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |