Class AddVersionLabel
- java.lang.Object
-
- org.apache.jackrabbit.standalone.cli.version.AddVersionLabel
-
- All Implemented Interfaces:
org.apache.commons.chain.Command
public class AddVersionLabel extends Object implements org.apache.commons.chain.Command
Add a label to the givenVersion
-
-
Constructor Summary
Constructors Constructor Description AddVersionLabel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
execute(org.apache.commons.chain.Context ctx)
String
getLabelKey()
String
getMoveLabelKey()
String
getPathKey()
String
getVersionKey()
void
setLabelKey(String versionLabelKey)
void
setMoveLabelKey(String moveLabelKey)
void
setPathKey(String pathKey)
void
setVersionKey(String versionNameKey)
-
-
-
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
-
getMoveLabelKey
public String getMoveLabelKey()
- Returns:
- the move label key
-
setMoveLabelKey
public void setMoveLabelKey(String moveLabelKey)
- Parameters:
moveLabelKey
- the move label key to set
-
getPathKey
public String getPathKey()
- Returns:
- the path key
-
setPathKey
public void setPathKey(String pathKey)
- Parameters:
pathKey
- the path key to set
-
getLabelKey
public String getLabelKey()
- Returns:
- the version label key
-
setLabelKey
public void setLabelKey(String versionLabelKey)
- Parameters:
versionLabelKey
- the version label key to set
-
getVersionKey
public String getVersionKey()
- Returns:
- the version name key
-
setVersionKey
public void setVersionKey(String versionNameKey)
- Parameters:
versionNameKey
- the version name key to set
-
-