public interface CliCommand
Modifier and Type | Interface and Description |
---|---|
static interface |
CliCommand.GoloCompilationTreatment<T,R> |
static interface |
CliCommand.GolofileAction |
static class |
CliCommand.NoMainMethodException |
Modifier and Type | Field and Description |
---|---|
static java.util.Comparator<GoloModule> |
MODULE_COMPARATOR |
Modifier and Type | Method and Description |
---|---|
default void |
callRun(java.lang.Class<?> klass,
java.lang.String[] arguments) |
default boolean |
canRead(java.io.File source) |
default <T> java.util.function.Function<T,T> |
displayInfo(java.lang.String message) |
void |
execute() |
default void |
handleCompilationException(GoloCompilationException e) |
default void |
handleCompilationException(GoloCompilationException e,
boolean exit) |
default void |
handleThrowable(java.lang.Throwable e) |
default void |
handleThrowable(java.lang.Throwable e,
boolean exit) |
default void |
handleThrowable(java.lang.Throwable e,
boolean exit,
boolean withStack) |
default void |
handleThrowable(java.lang.Throwable e,
boolean exit,
boolean withStack,
java.lang.String indent) |
default boolean |
verbose() |
default java.util.function.Consumer<java.io.File> |
wrappedAction(boolean exitOnError,
CliCommand.GolofileAction action) |
default java.util.function.Consumer<java.io.File> |
wrappedAction(CliCommand.GolofileAction action) |
default <T,R> java.util.function.Function<T,R> |
wrappedTreatment(CliCommand.GoloCompilationTreatment<T,R> t) |
static final java.util.Comparator<GoloModule> MODULE_COMPARATOR
void execute() throws java.lang.Throwable
java.lang.Throwable
default void callRun(java.lang.Class<?> klass, java.lang.String[] arguments) throws java.lang.Throwable
java.lang.Throwable
default boolean canRead(java.io.File source)
default java.util.function.Consumer<java.io.File> wrappedAction(boolean exitOnError, CliCommand.GolofileAction action)
default java.util.function.Consumer<java.io.File> wrappedAction(CliCommand.GolofileAction action)
default <T,R> java.util.function.Function<T,R> wrappedTreatment(CliCommand.GoloCompilationTreatment<T,R> t)
default <T> java.util.function.Function<T,T> displayInfo(java.lang.String message)
default boolean verbose()
default void handleCompilationException(GoloCompilationException e)
default void handleCompilationException(GoloCompilationException e, boolean exit)
default void handleThrowable(java.lang.Throwable e)
default void handleThrowable(java.lang.Throwable e, boolean exit)
default void handleThrowable(java.lang.Throwable e, boolean exit, boolean withStack)
default void handleThrowable(java.lang.Throwable e, boolean exit, boolean withStack, java.lang.String indent)