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

de.tsl2.nano.incubation.terminal.item.Echo Maven / Gradle / Ivy

Go to download

TSL2 Framework Terminal (Console Application Framework named SIShell, providing Actions, Options, Commands, Inputs, lots of Selectors, PlatformManagement)

There is a newer version: 2.5.2
Show newest version
package de.tsl2.nano.incubation.terminal.item;

import java.util.LinkedHashMap;
import java.util.Map;

import de.tsl2.nano.core.util.StringUtil;

/**
 * only for testing purpose
 * @param 
 * @author Tom, Thomas Schneider
 * @version $Revision$ 
 */
public class Echo extends de.tsl2.nano.incubation.specification.actions.Action {

    public Echo() {
        super("echo-action", Echo.class, "nothing", new LinkedHashMap());
    }
    
    @Override
    public T run(Map context, Object... extArgs) {
        System.out.println("action(echo): " + StringUtil.toString(extArgs, 80));
        return super.run(context, extArgs);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy