Class Cat
- java.lang.Object
-
- org.apache.jackrabbit.standalone.cli.info.Cat
-
- All Implemented Interfaces:
org.apache.commons.chain.Command
public class Cat extends Object implements org.apache.commons.chain.Command
Display the content of aPropertyor aNodeof type nt:file or nt:resource.
-
-
Constructor Summary
Constructors Constructor Description Cat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexecute(org.apache.commons.chain.Context ctx)StringgetIndexKey()StringgetPathKey()voidsetIndexKey(String indexKey)voidsetPathKey(String path)
-
-
-
Method Detail
-
execute
public boolean execute(org.apache.commons.chain.Context ctx) throws Exception- Specified by:
executein interfaceorg.apache.commons.chain.Command- Throws:
Exception
-
getPathKey
public String getPathKey()
- Returns:
- the path key
-
setPathKey
public void setPathKey(String path)
- Parameters:
path- the path key to set
-
getIndexKey
public String getIndexKey()
- Returns:
- the index key
-
setIndexKey
public void setIndexKey(String indexKey)
- Parameters:
indexKey- the index key to set
-
-