org.silverpeas.notification.jsondiff
Class JsonPatch
java.lang.Object
org.silverpeas.notification.jsondiff.JsonPatch
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ComponentJsonPatch
public class JsonPatch
- extends Object
- implements Serializable
A list of operations.
- Author:
- ehugonnet
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JsonPatch
public JsonPatch()
getOperations
public List<Operation> getOperations()
getOperationByPath
public Operation getOperationByPath(String path)
addOperation
public void addOperation(Operation operation)
setOperations
public void setOperations(List<Operation> operations)
toJson
public String toJson()
throws IOException
- Throws:
IOException
fromJson
public void fromJson(String json)
throws IOException
- Throws:
IOException
Copyright © 2016 Silverpeas. All Rights Reserved.