org.jclouds.karaf.commands.table.internal
Class ScriptEngineShellTable<D>
java.lang.Object
org.jclouds.karaf.commands.table.BasicShellTable<D>
org.jclouds.karaf.commands.table.internal.ScriptEngineShellTable<D>
- All Implemented Interfaces:
- ShellTable<D>
public class ScriptEngineShellTable<D>
- extends BasicShellTable<D>
A shell table implementation that works with groovy expressions.
| 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 |
ScriptEngineShellTable
public ScriptEngineShellTable(String engine)
- Constructor
- Parameters:
engine -
evaluate
public String evaluate(Object obj,
String expression)
- Evaluates an expression.
- Specified by:
evaluate in interface ShellTable<D>- Specified by:
evaluate in class BasicShellTable<D>
- Parameters:
obj - expression -
- Returns:
Copyright © 2013. All Rights Reserved.