org.jclouds.karaf.commands.table.internal
Class GroovyShellTable
java.lang.Object
org.jclouds.karaf.commands.table.BasicShellTable
org.jclouds.karaf.commands.table.internal.GroovyShellTable
- All Implemented Interfaces:
- ShellTable
public class GroovyShellTable
- extends BasicShellTable
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 |
GroovyShellTable
public GroovyShellTable()
evaluate
public String evaluate(Object obj,
String expression)
- Evaluates a Groovy expression.
- Specified by:
evaluate in interface ShellTable- Specified by:
evaluate in class BasicShellTable
- Parameters:
obj - expression -
- Returns:
Copyright © 2012. All Rights Reserved.