All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sf.aguacate.context.ContextValidationResult Maven / Gradle / Ivy

There is a newer version: 0.10.9
Show newest version
package net.sf.aguacate.context;

import java.util.List;
import java.util.Map;

import net.sf.aguacate.function.FunctionEvalResult;

public class ContextValidationResult {

	private final List errors;

	private final Map context;

	public ContextValidationResult(List errors, Map context) {
		this.errors = errors;
		this.context = context;
	}

	public boolean isSuccess() {
		return errors == null || errors.isEmpty();
	}

	public List getErrors() {
		return errors;
	}

	public Map getContext() {
		return context;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy