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

java.lang.Object
  extended by org.jclouds.karaf.commands.table.BasicShellTable
      extended by 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.


Field Summary
 
Fields inherited from interface org.jclouds.karaf.commands.table.ShellTable
LEFT, RIGHT
 
Constructor Summary
GroovyShellTable()
           
 
Method Summary
 String evaluate(Object obj, String expression)
          Evaluates a Groovy 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

GroovyShellTable

public GroovyShellTable()
Method Detail

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.