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 aProperty
or aNode
of 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 boolean
execute(org.apache.commons.chain.Context ctx)
String
getIndexKey()
String
getPathKey()
void
setIndexKey(String indexKey)
void
setPathKey(String path)
-
-
-
Method Detail
-
execute
public boolean execute(org.apache.commons.chain.Context ctx) throws Exception
- Specified by:
execute
in 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
-
-