Class Operation
- java.lang.Object
-
- org.apache.karaf.tools.utils.model.Operation
-
- All Implemented Interfaces:
Serializable
public class Operation extends Object implements Serializable
Class Operation.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Operation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetOperation()Get 'extend' to extend the existing value, 'put' to replace, 'remove' to remove a property.booleanisPrepend()Get for the 'extend' operation, indicates that the value should be placed at the head of the list.voidsetOperation(String operation)Set 'extend' to extend the existing value, 'put' to replace, 'remove' to remove a property.voidsetPrepend(boolean prepend)Set for the 'extend' operation, indicates that the value should be placed at the head of the list.
-
-
-
Method Detail
-
getOperation
public String getOperation()
Get 'extend' to extend the existing value, 'put' to replace, 'remove' to remove a property.- Returns:
- String
-
isPrepend
public boolean isPrepend()
Get for the 'extend' operation, indicates that the value should be placed at the head of the list.- Returns:
- boolean
-
setOperation
public void setOperation(String operation)
Set 'extend' to extend the existing value, 'put' to replace, 'remove' to remove a property.- Parameters:
operation-
-
setPrepend
public void setPrepend(boolean prepend)
Set for the 'extend' operation, indicates that the value should be placed at the head of the list.- Parameters:
prepend-
-
-