01: package org.drools.brms.server.contenthandler;
02:
03: import org.drools.brms.client.rpc.BuilderResult;
04: import org.drools.repository.AssetItem;
05:
06: /**
07: * This interface indicates that an asset can validate itself, and present errors if requested.
08: * Each IRuleAsset can already do this, so its not really required for them. Only other non-rule type assets.
09: * (eg supporting). The idea is that feedback can be provided where the user is entering stuff.
10: */
11: public interface IValidating {
12:
13: BuilderResult[] validateAsset(AssetItem asset);
14:
15: }
|