org.drools.guvnor.client.rpc
Class ScenarioRunResult

java.lang.Object
  extended by org.drools.guvnor.client.rpc.ScenarioRunResult
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

public class ScenarioRunResult
extends Object
implements com.google.gwt.user.client.rpc.IsSerializable

This is essentially a "Either" class. It will either be a list of rule compiler errors (should it have to compile), or the scenario run results.


Constructor Summary
ScenarioRunResult()
           
ScenarioRunResult(List<BuilderResultLine> errors, Scenario scenario)
           
 
Method Summary
 List<BuilderResultLine> getErrors()
           
 Scenario getScenario()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScenarioRunResult

public ScenarioRunResult()

ScenarioRunResult

public ScenarioRunResult(List<BuilderResultLine> errors,
                         Scenario scenario)
Method Detail

getScenario

public Scenario getScenario()

getErrors

public List<BuilderResultLine> getErrors()


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