Class ReadValue
- java.lang.Object
-
- org.apache.jackrabbit.standalone.cli.core.ReadValue
-
- All Implemented Interfaces:
org.apache.commons.chain.Command
public class ReadValue extends Object implements org.apache.commons.chain.Command
Read theValueof the givenPropertyand store it under the givenContextattribute.
-
-
Constructor Summary
Constructors Constructor Description ReadValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexecute(org.apache.commons.chain.Context ctx)StringgetDestKey()StringgetSrcIndexKey()StringgetSrcPathKey()voidsetDestKey(String destKey)voidsetSrcIndexKey(String srcIndexKey)voidsetSrcPathKey(String srcPathKey)
-
-
-
Method Detail
-
execute
public boolean execute(org.apache.commons.chain.Context ctx) throws Exception- Specified by:
executein interfaceorg.apache.commons.chain.Command- Throws:
Exception
-
getDestKey
public String getDestKey()
- Returns:
- the destination key
-
setDestKey
public void setDestKey(String destKey)
- Parameters:
destKey- the destination key to set
-
getSrcIndexKey
public String getSrcIndexKey()
- Returns:
- the source index key
-
setSrcIndexKey
public void setSrcIndexKey(String srcIndexKey)
- Parameters:
srcIndexKey- the source index key to set
-
getSrcPathKey
public String getSrcPathKey()
- Returns:
- the source path key
-
setSrcPathKey
public void setSrcPathKey(String srcPathKey)
- Parameters:
srcPathKey- the source path key to set
-
-