| java.lang.Object org.drools.brms.client.common.AssetFormats
AssetFormats | public class AssetFormats (Code) | | Keeps track of the different rule formats we support.
Each format type corresponds to the dublin core "format" attribute.
This is used both by the UI, to determine what are valid formats, and also on the server.
If you are adding new types they need to be registered here.
If an asset type is unknown, then it will be opened with the default editor.
author: Michael Neale |
Method Summary | |
public static boolean | isPackageDependency(String format) Will return true if the given asset format is a package dependency (eg a function, DSL, model etc). |
BUSINESS_RULE | final public static String BUSINESS_RULE(Code) | | Use the rule modeller
|
BUSINESS_RULE_FORMATS | final public static String[] BUSINESS_RULE_FORMATS(Code) | | The following group the assets together for lists, helpers etc...
|
DECISION_SPREADSHEET_XLS | final public static String DECISION_SPREADSHEET_XLS(Code) | | Use a decision table.
|
DSL | final public static String DSL(Code) | | For DSL language grammars
|
DSL_TEMPLATE_RULE | final public static String DSL_TEMPLATE_RULE(Code) | | use a DSL, free text editor
|
ENUMERATION | final public static String ENUMERATION(Code) | | Use a data enum.
|
FUNCTION | final public static String FUNCTION(Code) | | For functions
|
MODEL | final public static String MODEL(Code) | | For "model" assets
|
RULE_FLOW_RF | final public static String RULE_FLOW_RF(Code) | | Use a ruleflow.
|
TECHNICAL_RULE_FORMATS | final public static String[] TECHNICAL_RULE_FORMATS(Code) | | |
isPackageDependency | public static boolean isPackageDependency(String format)(Code) | | Will return true if the given asset format is a package dependency (eg a function, DSL, model etc).
Package dependencies are needed before the package is validated, and any rule assets are processed.
|
|
|