Interface ShardOperationResult
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject,DatastoreShardId
- All Known Subinterfaces:
ShardResult
public interface ShardOperationResult extends org.opendaylight.yangtools.yang.binding.DataObject, DatastoreShardId
This class represents the following YANG schema fragment defined in module cluster-admin
grouping shard-operation-result { uses datastore-shard-id; leaf succeeded { type boolean; } leaf error-message { type string; } }The schema path to identify an instance is cluster-admin/shard-operation-result
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable StringgetErrorMessage()Class<? extends ShardOperationResult>implementedInterface()@Nullable BooleanisSucceeded()-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.cluster.admin.rev151013.DatastoreShardId
getDataStoreType, getShardName
-
-
-
-
Method Detail
-
implementedInterface
Class<? extends ShardOperationResult> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject- Specified by:
implementedInterfacein interfaceDatastoreShardId
-
isSucceeded
@Nullable Boolean isSucceeded()
- Returns:
java.lang.Booleansucceeded, ornullif not present
-
getErrorMessage
@Nullable String getErrorMessage()
- Returns:
java.lang.StringerrorMessage, ornullif not present
-
-