001// SPDX-License-Identifier: GPL-3.0-or-later
002
003package es.uvigo.esei.sing.textproc.step.xml.definition;
004
005/**
006 * Represents a read-only parameter passed on to a processing step.
007 * Subclasses must be annotated with a unique JAXB XmlRootElement name, and
008 * configure their XML binding appropriately.
009 *
010 * @author Alejandro González García
011 * @see ProcessingStepDefinition
012 */
013public interface ProcessingStepParameter {
014        /**
015         * Retrieves the name of the processing step parameter.
016         *
017         * @return The name of the processing step parameter. It never is
018         *         {@code null}.
019         */
020        public String getName();
021
022        /**
023         * Returns the value of the processing step parameter.
024         *
025         * @return The value of the processing step parameter. It never is
026         *         {@code null}.
027         */
028        public String getValue();
029}