kg.apc.cmdtools.HelloWorldTool Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cmdrunner Show documentation
Show all versions of cmdrunner Show documentation
Universal runner used by JP@GC and PerfMon server agent
package kg.apc.cmdtools;
import java.io.PrintStream;
import java.util.ListIterator;
/**
*
* @author undera
*/
public class HelloWorldTool extends AbstractCMDTool {
protected int processParams(ListIterator args) throws UnsupportedOperationException, IllegalArgumentException {
System.out.println("Hello, World!");
return 0;
}
protected void showHelp(PrintStream os) {
os.println("This tool just prints 'Hello, World!'");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy