public final class CommandUtils extends Object
Modifier and Type | Method and Description |
---|---|
static List<AbstractCommand> |
commands() |
static AbstractCommand |
fromArgs(String arg) |
static String[] |
fromEnumToArray(Class<? extends Enum<?>> enumClass) |
static String |
helpMessage(String command,
List<String> options) |
public static AbstractCommand fromArgs(String arg) throws NoSuchMethodException, InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException
public static List<AbstractCommand> commands() throws InstantiationException, IllegalAccessException, IllegalArgumentException, NoSuchMethodException, InvocationTargetException
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.