Class OrderBefore
- java.lang.Object
-
- org.apache.jackrabbit.standalone.cli.core.OrderBefore
-
- All Implemented Interfaces:
org.apache.commons.chain.Command
public class OrderBefore extends Object implements org.apache.commons.chain.Command
Set the order of the givenNode
-
-
Constructor Summary
Constructors Constructor Description OrderBefore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexecute(org.apache.commons.chain.Context ctx)StringgetDestChildKey()StringgetParentPathKey()StringgetSrcChildKey()voidsetDestChildKey(String destChildRelPathKey)voidsetParentPathKey(String parentPathKey)voidsetSrcChildKey(String srcChildRelPathKey)
-
-
-
Method Detail
-
execute
public boolean execute(org.apache.commons.chain.Context ctx) throws Exception- Specified by:
executein interfaceorg.apache.commons.chain.Command- Throws:
Exception
-
getDestChildKey
public String getDestChildKey()
- Returns:
- the destination child key
-
setDestChildKey
public void setDestChildKey(String destChildRelPathKey)
- Parameters:
destChildRelPathKey- the destination child key to set
-
getSrcChildKey
public String getSrcChildKey()
- Returns:
- the source child key
-
setSrcChildKey
public void setSrcChildKey(String srcChildRelPathKey)
- Parameters:
srcChildRelPathKey- the source child key to set
-
getParentPathKey
public String getParentPathKey()
- Returns:
- the parent path key
-
setParentPathKey
public void setParentPathKey(String parentPathKey)
- Parameters:
parentPathKey- the parent path key to set
-
-