org.jclouds.karaf.commands.table.internal
Class ScriptEngineShellTable

java.lang.Object
  extended by org.jclouds.karaf.commands.table.BasicShellTable
      extended by org.jclouds.karaf.commands.table.internal.ScriptEngineShellTable
All Implemented Interfaces:
ShellTable

public class ScriptEngineShellTable
extends BasicShellTable

A shell table implementation that works with groovy expressions.


Field Summary
 
Fields inherited from interface org.jclouds.karaf.commands.table.ShellTable
LEFT, RIGHT
 
Constructor Summary
ScriptEngineShellTable(String engine)
          Constructor
 
Method Summary
 String evaluate(Object obj, String expression)
          Evaluates an expression.
 
Methods inherited from class org.jclouds.karaf.commands.table.BasicShellTable
display, getAlignments, getAscending, getDisplayData, getDisplayExpression, getHeaders, getSortBy, getType, setAlignments, setAscending, setDisplayData, setDisplayExpression, setHeaders, setSortBy, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptEngineShellTable

public ScriptEngineShellTable(String engine)
Constructor

Parameters:
engine -
Method Detail

evaluate

public String evaluate(Object obj,
                       String expression)
Evaluates an expression.

Specified by:
evaluate in interface ShellTable
Specified by:
evaluate in class BasicShellTable
Parameters:
obj -
expression -
Returns:


Copyright © 2012. All Rights Reserved.