001package jmri.jmrit.logixng; 002 003import javax.annotation.Nonnull; 004import jmri.JmriException; 005 006/** 007 * A LogixNG male StringActionBean socket. 008 */ 009public interface MaleStringActionSocket 010 extends MaleSocket, StringActionBean { 011 012 /** 013 * {@inheritDoc} 014 * <P> 015 * This method must ensure that the value is not a Double.NaN, negative 016 * infinity or positive infinity. If that is the case, it must throw an 017 * IllegalArgumentException before checking if an error has occured. 018 */ 019 @Override 020 void setValue(@Nonnull String value) throws JmriException; 021 022}