Package org.infinispan.cli.commands
Class CLI
- java.lang.Object
-
- org.infinispan.cli.commands.CliCommand
-
- org.infinispan.cli.commands.CLI
-
- All Implemented Interfaces:
org.aesh.command.Command<ContextAwareCommandInvocation>
public class CLI extends CliCommand
- Since:
- 11.0
- Author:
- Tristan Tarrant <tristan@infinispan.org>
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanhelp
-
Constructor Summary
Constructors Constructor Description CLI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidconfigureSslContext(Context context, org.aesh.io.Resource truststore, String truststorePassword, org.aesh.io.Resource keystore, String keystorePassword, String providerName, String hostnameVerifier, boolean trustAll)org.aesh.command.CommandResultexec(ContextAwareCommandInvocation invocation)static PathgetServerHome(org.aesh.io.Resource server)booleanisHelp()static voidmain(String[] args)static intmain(org.aesh.command.shell.Shell shell, String[] args, Properties properties)static intmain(org.aesh.command.shell.Shell shell, String[] args, Properties properties, boolean kube)-
Methods inherited from class org.infinispan.cli.commands.CliCommand
execute, nesting
-
-
-
-
Method Detail
-
isHelp
public boolean isHelp()
- Specified by:
isHelpin classCliCommand
-
exec
public org.aesh.command.CommandResult exec(ContextAwareCommandInvocation invocation)
- Specified by:
execin classCliCommand
-
configureSslContext
public static void configureSslContext(Context context, org.aesh.io.Resource truststore, String truststorePassword, org.aesh.io.Resource keystore, String keystorePassword, String providerName, String hostnameVerifier, boolean trustAll) throws UnrecoverableKeyException, KeyStoreException, NoSuchAlgorithmException, IOException
-
main
public static int main(org.aesh.command.shell.Shell shell, String[] args, Properties properties, boolean kube)
-
main
public static int main(org.aesh.command.shell.Shell shell, String[] args, Properties properties)
-
main
public static void main(String[] args) throws IOException
- Throws:
IOException
-
getServerHome
public static Path getServerHome(org.aesh.io.Resource server)
-
-