Infinispan Distribution 5.2.6.Final-redhat-2

org.infinispan.cli.shell
Class ShellImpl

java.lang.Object
  extended by org.infinispan.cli.shell.ShellImpl
All Implemented Interfaces:
Shell

public class ShellImpl
extends Object
implements Shell

ShellImpl.

Since:
5.2
Author:
Tristan Tarrant

Constructor Summary
ShellImpl()
           
 
Method Summary
 Context getContext()
           
 String getCWD()
           
 void init(String[] args)
           
 String renderColor(Color color, String output)
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShellImpl

public ShellImpl()
Method Detail

init

public void init(String[] args)
          throws Exception
Specified by:
init in interface Shell
Throws:
Exception

run

public void run()
         throws IOException
Specified by:
run in interface Shell
Throws:
IOException

renderColor

public String renderColor(Color color,
                          String output)
Specified by:
renderColor in interface Shell

getCWD

public String getCWD()
Specified by:
getCWD in interface Shell

getContext

public Context getContext()
Specified by:
getContext in interface Shell

Infinispan Distribution 5.2.6.Final-redhat-2

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