IValidating.java :  » Rule-Engine » drolls-5.0 » org » drools » guvnor » server » contenthandler » Java Open Source

Java Open Source » Rule Engine » drolls 5.0 
drolls 5.0 » org » drools » guvnor » server » contenthandler » IValidating.java
package org.drools.guvnor.server.contenthandler;

import org.drools.guvnor.client.rpc.BuilderResult;
import org.drools.repository.AssetItem;

/**
 * This interface indicates that an asset can validate itself, and present errors if requested.
 * Each IRuleAsset can already do this, so its not really required for them. Only other non-rule type assets.
 * (eg supporting). The idea is that feedback can be provided where the user is entering stuff.
 */
public interface IValidating {

    BuilderResult[] validateAsset(AssetItem asset);


}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.