Class KarafPropertyEdit
- java.lang.Object
-
- org.apache.karaf.tools.utils.model.KarafPropertyEdit
-
- All Implemented Interfaces:
Serializable
public class KarafPropertyEdit extends Object implements Serializable
A single property edit.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description KarafPropertyEdit()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFile()Get the pathname, relative to the the Karaf etc directory, of the file to manipulate.StringgetKey()Get the property key.OperationgetOperation()Get the operation to perform: 'put' or 'extend' or 'remove'.StringgetValue()Get the property value.voidsetFile(String file)Set the pathname, relative to the the Karaf etc directory, of the file to manipulate.voidsetKey(String key)Set the property key.voidsetOperation(Operation operation)Set the operation to perform: 'put' or 'extend' or 'remove'.voidsetValue(String value)Set the property value.
-
-
-
Method Detail
-
getFile
public String getFile()
Get the pathname, relative to the the Karaf etc directory, of the file to manipulate.- Returns:
- String
-
getKey
public String getKey()
Get the property key.- Returns:
- String
-
getOperation
public Operation getOperation()
Get the operation to perform: 'put' or 'extend' or 'remove'.- Returns:
- Operation
-
getValue
public String getValue()
Get the property value.- Returns:
- String
-
setFile
public void setFile(String file)
Set the pathname, relative to the the Karaf etc directory, of the file to manipulate.- Parameters:
file-
-
setKey
public void setKey(String key)
Set the property key.- Parameters:
key-
-
setOperation
public void setOperation(Operation operation)
Set the operation to perform: 'put' or 'extend' or 'remove'.- Parameters:
operation-
-
setValue
public void setValue(String value)
Set the property value.- Parameters:
value-
-
-