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>
- Since:
- 11.0
- Author:
- Tristan Tarrant <tristan@infinispan.org>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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 voidstatic 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
-
Field Details
-
help
protected boolean help
-
-
Constructor Details
-
CLI
public CLI()
-
-
Method Details
-
isHelp
public boolean isHelp()- Specified by:
isHelpin classCliCommand
-
exec
- 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
-
main
- Throws:
IOException
-
getServerHome
-