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 theValue
of the givenProperty
and store it under the givenContext
attribute.
-
-
Constructor Summary
Constructors Constructor Description ReadValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
execute(org.apache.commons.chain.Context ctx)
String
getDestKey()
String
getSrcIndexKey()
String
getSrcPathKey()
void
setDestKey(String destKey)
void
setSrcIndexKey(String srcIndexKey)
void
setSrcPathKey(String srcPathKey)
-
-
-
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
-
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
-
-