Infinispan Distribution 5.2.6.Final-redhat-2

org.infinispan.cli.commands.server
Class AbstractServerCommand

java.lang.Object
  extended by org.infinispan.cli.commands.AbstractCommand
      extended by org.infinispan.cli.commands.server.AbstractServerCommand
All Implemented Interfaces:
Command, ServerCommand
Direct Known Subclasses:
Abort, Begin, Cache, Clear, Commit, Create, Encoding, End, Evict, Get, Info, Locate, Ping, Put, Remove, Replace, Rollback, Site, Start, Stats, Upgrade, Version

public abstract class AbstractServerCommand
extends AbstractCommand
implements ServerCommand


Constructor Summary
AbstractServerCommand()
           
 
Method Summary
 void execute(Context context, ProcessedCommand commandLine)
           
 boolean isAvailable(Context context)
           
 
Methods inherited from class org.infinispan.cli.commands.AbstractCommand
complete, getOptions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.infinispan.cli.commands.ServerCommand
nesting
 
Methods inherited from interface org.infinispan.cli.commands.Command
complete, getName, getOptions
 

Constructor Detail

AbstractServerCommand

public AbstractServerCommand()
Method Detail

isAvailable

public boolean isAvailable(Context context)
Specified by:
isAvailable in interface Command

execute

public void execute(Context context,
                    ProcessedCommand commandLine)
Specified by:
execute in interface Command

Infinispan Distribution 5.2.6.Final-redhat-2

Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.