Package org.bitsquad.warzone.cli
Class CliParser
java.lang.Object
org.bitsquad.warzone.cli.CliParser
This class represents the implementation of the command line interface, which processes user input commands
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidparseCommandString(String p_ip) Parses the inputted command stringstatic voidsetCommandClassNames(List<String> p_newCommandClassNames) static void
-
Constructor Details
-
CliParser
public CliParser()
-
-
Method Details
-
setDefaultCommandClassNames
public static void setDefaultCommandClassNames() -
setCommandClassNames
-
parseCommandString
public void parseCommandString(String p_ip) throws ClassNotFoundException, picocli.CommandLine.ParameterException Parses the inputted command string- Parameters:
p_ip- inputted command- Throws:
ClassNotFoundExceptionpicocli.CommandLine.ParameterException
-