org.apache.jackrabbit.standalone.cli.info
Class AbstractLsProperties

java.lang.Object
  extended by org.apache.jackrabbit.standalone.cli.info.AbstractLs
      extended by org.apache.jackrabbit.standalone.cli.info.AbstractLsProperties
All Implemented Interfaces:
org.apache.commons.chain.Command
Direct Known Subclasses:
LsCollectedProperties, LsProperties

public abstract class AbstractLsProperties
extends AbstractLs

List properties superclass


Field Summary
 
Fields inherited from class org.apache.jackrabbit.standalone.cli.info.AbstractLs
longWidth
 
Constructor Summary
AbstractLsProperties()
           
 
Method Summary
 boolean execute(org.apache.commons.chain.Context ctx)
          
protected abstract  Iterator getProperties(org.apache.commons.chain.Context ctx)
           
 
Methods inherited from class org.apache.jackrabbit.standalone.cli.info.AbstractLs
getDefaultMaxItems, getMaxItems, getMaxItemsKey, isPath, printFooter, setDefaultMaxItems, setMaxItemsKey, setPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractLsProperties

public AbstractLsProperties()
Method Detail

execute

public final boolean execute(org.apache.commons.chain.Context ctx)
                      throws Exception

Throws:
Exception

getProperties

protected abstract Iterator getProperties(org.apache.commons.chain.Context ctx)
                                   throws Exception
Parameters:
ctx - the Context
Returns:
collected Property s to display
Throws:
Exception - if the Property s can't be retrieved


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.