Class KarafPropertyEdits
- java.lang.Object
-
- org.apache.karaf.tools.utils.model.KarafPropertyEdits
-
- All Implemented Interfaces:
Serializable
public class KarafPropertyEdits extends Object implements Serializable
A collection instructions. Each instruction is either a 'put' or an 'edit', and calls out a file, a property name, and a property value.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description KarafPropertyEdits()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddEdit(KarafPropertyEdit karafPropertyEdit)Method addEdit.List<KarafPropertyEdit>getEdits()Method getEdits.StringgetModelEncoding()Get the modelEncoding field.voidremoveEdit(KarafPropertyEdit karafPropertyEdit)Method removeEdit.voidsetEdits(List<KarafPropertyEdit> edits)Set the list of edits to perform.voidsetModelEncoding(String modelEncoding)Set the modelEncoding field.
-
-
-
Method Detail
-
addEdit
public void addEdit(KarafPropertyEdit karafPropertyEdit)
Method addEdit.- Parameters:
karafPropertyEdit-
-
getEdits
public List<KarafPropertyEdit> getEdits()
Method getEdits.- Returns:
- List
-
getModelEncoding
public String getModelEncoding()
Get the modelEncoding field.- Returns:
- String
-
removeEdit
public void removeEdit(KarafPropertyEdit karafPropertyEdit)
Method removeEdit.- Parameters:
karafPropertyEdit-
-
setEdits
public void setEdits(List<KarafPropertyEdit> edits)
Set the list of edits to perform.- Parameters:
edits-
-
setModelEncoding
public void setModelEncoding(String modelEncoding)
Set the modelEncoding field.- Parameters:
modelEncoding-
-
-