001package jmri.jmrit.logixng;
002
003import jmri.JmriException;
004
005/**
006 * DigitalExpressionBean is used in LogixNG to answer a question that can give
007 * the answers 'true' or 'false'.
008 * 
009 * @author Daniel Bergqvist Copyright 2018
010 */
011public interface DigitalExpression extends Base {
012
013    /**
014     * Evaluate this expression.
015     * 
016     * @return the result of the evaluation
017     * @throws JmriException when an exception occurs
018     */
019    boolean evaluate() throws JmriException;
020    
021}