Class CliCommand

java.lang.Object
org.infinispan.cli.commands.CliCommand
All Implemented Interfaces:
org.aesh.command.Command<ContextAwareCommandInvocation>
Direct Known Subclasses:
AclCache, AclCache.Flush, Add, Alter, Alter.Cache, Availability, Backup, Backup.Create, Backup.Delete, Backup.Get, Backup.ListBackups, Backup.Restore, Benchmark, Cache, Cas, Cd, Clear, ClearCache, CLI, Config, Config.Convert, Config.Get, Config.Reset, Config.Set, Connect, Connections, Connections.Ls, Connector, Connector.Describe, Connector.IpFilter, Connector.IpFilter.Clear, Connector.IpFilter.Ls, Connector.IpFilter.Set, Connector.Ls, Connector.Start, Connector.Stop, Container, Counter, Create, Create, Create.Cache, Create.Cluster, Create.Counter, Credentials, Credentials.Add, Credentials.Ls, Credentials.Mask, Credentials.Remove, DataSource, DataSource.Ls, DataSource.Test, Delete, Delete.Cluster, Describe, Disconnect, Drop, Drop.Cache, Drop.Counter, Echo, Encoding, Get, Get, Get.Clusters, Index, Index.Clear, Index.ClearStats, Index.Metamodel, Index.Reindex, Index.Stats, Index.UpdateIndex, Install, Install, Logging, Logging.Appenders, Logging.Loggers, Logging.Remove, Logging.Set, Ls, Migrate, Migrate.Cluster, Migrate.ClusterConnect, Migrate.ClusterDisconnect, Migrate.ClusterSourceConnection, Migrate.ClusterSynchronize, Migrate.Store, Patch, Patch.Create, Patch.Describe, Patch.Install, Patch.Ls, Patch.Rollback, Principals, Principals.Ls, Put, Query, Quit, Rebalance, Rebalance.Disable, Rebalance.Enable, Remove, Reset, Roles, Roles.Create, Roles.Deny, Roles.Describe, Roles.Grant, Roles.Ls, Roles.Remove, Roles.Update, Run, Schema, Schema.Get, Schema.Ls, Schema.Remove, Schema.Upload, Server, Server.HeapDump, Server.Report, Shell, Shutdown, Shutdown.Cluster, Shutdown.Container, Shutdown.Server, Site, Site.BringOnline, Site.CancelPushState, Site.CancelReceiveState, Site.ClearPushStateStatus, Site.GetStateTransferMode, Site.IsRelayNode, Site.Name, Site.PushSiteState, Site.PushSiteStatus, Site.RelayNodes, Site.SetStateTransferMode, Site.StateTransferMode, Site.Status, Site.TakeOffline, Site.View, Stats, Task, Task.Exec, Task.Upload, Topology, Topology.SetStable, Uninstall, User, User.Create, User.Describe, User.Encrypt, User.Groups, User.Ls, User.Password, User.Remove, Version

public abstract class CliCommand extends Object implements org.aesh.command.Command<ContextAwareCommandInvocation>
Since:
10.0
Author:
Tristan Tarrant <tristan@infinispan.org>
  • Constructor Details

    • CliCommand

      public CliCommand()
  • Method Details

    • execute

      public org.aesh.command.CommandResult execute(ContextAwareCommandInvocation invocation) throws org.aesh.command.CommandException
      Specified by:
      execute in interface org.aesh.command.Command<ContextAwareCommandInvocation>
      Throws:
      org.aesh.command.CommandException
    • isHelp

      protected abstract boolean isHelp()
    • exec

      protected abstract org.aesh.command.CommandResult exec(ContextAwareCommandInvocation invocation) throws org.aesh.command.CommandException
      Throws:
      org.aesh.command.CommandException
    • nesting

      public int nesting()