站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 4.0.0.11754MR2 API 英文版文档

ContentPackageAssembler (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.brms.server.builder
Class ContentPackageAssembler

java.lang.Object
  extended by org.drools.brms.server.builder.ContentPackageAssembler

public class ContentPackageAssembler
extends Object

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.

Author:
Michael Neale

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

ContentPackageAssembler

public ContentPackageAssembler(PackageItem assetPackage,
                               boolean compile)
Parameters:
assetPackage - The package.
compile - true if we want to build it. False and its just for looking at source.

ContentPackageAssembler

public ContentPackageAssembler(PackageItem assetPackage)
Use this if you want to build the whole package.


ContentPackageAssembler

public ContentPackageAssembler(AssetItem assetToBuild)
Use this if you want to build and compile just the one asset.

Method Detail

isPackageConfigurationInError

public boolean isPackageConfigurationInError()
This will return true if there is an error in the package configuration or functions.

Returns:

getBinaryPackage

public Package getBinaryPackage()
I've got a package people !


hasErrors

public boolean hasErrors()

getErrors

public List<ContentAssemblyError> getErrors()

getDRL

public String getDRL()


Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.