com.tobedevoured.command.spring.SpringRunner Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of command-spring Show documentation
Show all versions of command-spring Show documentation
Make Java do your bidding by turning any code into an executable
The newest version!
package com.tobedevoured.command.spring;
import com.tobedevoured.command.RunException;
import com.tobedevoured.command.Runner;
/**
* Extends {@link Runner} to use {@link SpringCommandManager}
*/
public class SpringRunner extends Runner {
public SpringRunner(String _package) throws RunException {
super(_package);
}
public SpringRunner() throws RunException {
super();
}
@Override
protected SpringCommandManager createCommandManager() {
return new SpringCommandManager();
}
/**
* Alias for {@link #run(String[])}
*
* @param args String[] args
* @throws RunException
*/
public static void main(String[] args) throws RunException {
SpringRunner.run(args);
}
}