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

org.jline.consoleui.elements.AbstractPromptableElement Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (c) 2024, the original author(s).
 *
 * This software is distributable under the BSD license. See the terms of the
 * BSD license in the documentation provided with this software.
 *
 * https://opensource.org/licenses/BSD-3-Clause
 */
package org.jline.consoleui.elements;

public class AbstractPromptableElement implements PromptableElementIF {

    protected String message;
    protected String name;

    public AbstractPromptableElement(String message, String name) {
        this.message = message;
        this.name = name;
    }

    public String getMessage() {
        return message;
    }

    public String getName() {
        return name;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy