Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.drools.guvnor.client.rpc;
 
 
 import  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.

Author(s):
Michael Neale
public class ScenarioRunResult implements IsSerializable {
	public ScenarioRunResult() {}
	public BuilderResult[] errors;
	public Scenario scenario;
	public ScenarioRunResult(BuilderResult[] errorsScenario scenario) {
		this. = errors;
		this. = scenario;
	}
New to GrepCode? Check out our FAQ X