de.tsl2.nano.incubation.terminal.item.Echo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tsl2.nano.terminal Show documentation
Show all versions of tsl2.nano.terminal Show documentation
TSL2 Framework Terminal (Console Application Framework named SIShell, providing Actions, Options, Commands, Inputs, lots of Selectors, PlatformManagement)
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);
}
}