Class ActionableResourceImpl
- java.lang.Object
-
- org.opendaylight.genius.utils.batching.ActionableResourceImpl
-
- All Implemented Interfaces:
ActionableResource
public class ActionableResourceImpl extends java.lang.Object implements ActionableResource
-
-
Field Summary
-
Fields inherited from interface org.opendaylight.genius.utils.batching.ActionableResource
CREATE, DELETE, READ, UPDATE
-
-
Constructor Summary
Constructors Constructor Description ActionableResourceImpl(java.lang.String key)
Deprecated.ActionableResourceImpl(java.lang.String key, org.opendaylight.yangtools.yang.binding.InstanceIdentifier identifier, short action, java.lang.Object updatedData, java.lang.Object oldData)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description short
getAction()
java.lang.Object
getInstance()
org.opendaylight.yangtools.yang.binding.InstanceIdentifier
getInstanceIdentifier()
java.lang.Object
getOldInstance()
com.google.common.util.concurrent.ListenableFuture<java.lang.Void>
getResultFuture()
void
setAction(short action)
void
setInstance(java.lang.Object instance)
void
setInstanceIdentifier(org.opendaylight.yangtools.yang.binding.InstanceIdentifier instanceIdentifier)
void
setKey(java.lang.String key)
void
setOldInstance(java.lang.Object oldInstance)
java.lang.String
toString()
-
-
-
Constructor Detail
-
ActionableResourceImpl
@Deprecated public ActionableResourceImpl(java.lang.String key)
Deprecated.
-
ActionableResourceImpl
@Deprecated public ActionableResourceImpl(java.lang.String key, org.opendaylight.yangtools.yang.binding.InstanceIdentifier identifier, short action, java.lang.Object updatedData, java.lang.Object oldData)
Deprecated.
-
-
Method Detail
-
setInstance
public void setInstance(java.lang.Object instance)
-
getInstance
public java.lang.Object getInstance()
- Specified by:
getInstance
in interfaceActionableResource
-
setOldInstance
public void setOldInstance(java.lang.Object oldInstance)
-
getOldInstance
public java.lang.Object getOldInstance()
- Specified by:
getOldInstance
in interfaceActionableResource
-
setInstanceIdentifier
public void setInstanceIdentifier(org.opendaylight.yangtools.yang.binding.InstanceIdentifier instanceIdentifier)
-
getInstanceIdentifier
public org.opendaylight.yangtools.yang.binding.InstanceIdentifier getInstanceIdentifier()
- Specified by:
getInstanceIdentifier
in interfaceActionableResource
-
setAction
public void setAction(short action)
-
getAction
public short getAction()
- Specified by:
getAction
in interfaceActionableResource
-
setKey
public void setKey(java.lang.String key)
-
getResultFuture
public com.google.common.util.concurrent.ListenableFuture<java.lang.Void> getResultFuture()
- Specified by:
getResultFuture
in interfaceActionableResource
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-