Class DeleteModification
- java.lang.Object
-
- org.opendaylight.controller.cluster.datastore.modification.AbstractModification
-
- org.opendaylight.controller.cluster.datastore.modification.DeleteModification
-
- All Implemented Interfaces:
Externalizable
,Serializable
,Modification
public class DeleteModification extends AbstractModification
DeleteModification store all the parameters required to delete a path from the data tree.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface org.opendaylight.controller.cluster.datastore.modification.Modification
COMPOSITE, DELETE, MERGE, WRITE
-
-
Constructor Summary
Constructors Constructor Description DeleteModification()
DeleteModification(short version)
DeleteModification(YangInstanceIdentifier path)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(DOMStoreWriteTransaction transaction)
Apply the modification to the specified transaction.void
apply(DataTreeModification transaction)
Apply the modification to the specified transaction.static DeleteModification
fromStream(NormalizedNodeDataInput in, short version)
byte
getType()
void
readExternal(ObjectInput in)
void
writeExternal(ObjectOutput out)
void
writeTo(NormalizedNodeDataOutput out)
-
Methods inherited from class org.opendaylight.controller.cluster.datastore.modification.AbstractModification
getPath, getVersion, setPath
-
-
-
-
Constructor Detail
-
DeleteModification
public DeleteModification()
-
DeleteModification
public DeleteModification(short version)
-
DeleteModification
public DeleteModification(YangInstanceIdentifier path)
-
-
Method Detail
-
apply
public void apply(DOMStoreWriteTransaction transaction)
Description copied from interface:Modification
Apply the modification to the specified transaction.- Parameters:
transaction
- the transaction
-
apply
public void apply(DataTreeModification transaction)
Description copied from interface:Modification
Apply the modification to the specified transaction.- Parameters:
transaction
- the transaction
-
getType
public byte getType()
-
readExternal
public void readExternal(ObjectInput in) throws IOException
- Throws:
IOException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Throws:
IOException
-
writeTo
public void writeTo(NormalizedNodeDataOutput out) throws IOException
- Throws:
IOException
-
fromStream
public static DeleteModification fromStream(NormalizedNodeDataInput in, short version) throws IOException
- Throws:
IOException
-
-