Class MoveOperation
- java.lang.Object
-
- com.github.fge.jsonpatch.operation.DualPathOperation
-
- com.github.fge.jsonpatch.operation.MoveOperation
-
- de.cismet.cids.jsonpatch.operation.cidsbean.MoveOperation
-
- All Implemented Interfaces:
com.fasterxml.jackson.databind.JsonSerializable,com.github.fge.jsonpatch.operation.JsonPatchOperation,CidsBeanPatchOperation
public class MoveOperation extends com.github.fge.jsonpatch.operation.MoveOperation implements CidsBeanPatchOperation
DOCUMENT ME!- Version:
- $Revision$, $Date$
- Author:
- Pascal Dihé
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.apache.log4j.LoggerLOGGERprotected static ResourceBundleRESOURCE_BUNDLEprotected static CidsBeanPatchUtilsUTILS
-
Constructor Summary
Constructors Constructor Description MoveOperation(com.github.fge.jackson.jsonpointer.JsonPointer from, com.github.fge.jackson.jsonpointer.JsonPointer path)Creates a new ReplaceOperation object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description de.cismet.cids.dynamics.CidsBeanapply(de.cismet.cids.dynamics.CidsBean cidsBean)Apply this operation to a JSON value.-
Methods inherited from class com.github.fge.jsonpatch.operation.DualPathOperation
serialize, serializeWithType, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
UTILS
protected static final CidsBeanPatchUtils UTILS
-
RESOURCE_BUNDLE
protected static final ResourceBundle RESOURCE_BUNDLE
-
LOGGER
protected static final org.apache.log4j.Logger LOGGER
-
-
Method Detail
-
apply
public de.cismet.cids.dynamics.CidsBean apply(de.cismet.cids.dynamics.CidsBean cidsBean) throws com.github.fge.jsonpatch.JsonPatchExceptionDescription copied from interface:CidsBeanPatchOperationApply this operation to a JSON value.- Specified by:
applyin interfaceCidsBeanPatchOperation- Parameters:
cidsBean- the value to patch- Returns:
- the patched value
- Throws:
com.github.fge.jsonpatch.JsonPatchException- com.github.fge.jsonpatch.JsonPatchException operation failed to apply to this value
-
-