@Export
Package org.opendaylight.yangtools.concepts
Concept used widely across OpenDaylight code base.
-
Interface Summary Interface Description Builder<P> Deprecated, for removal: This API element is subject to removal in a future version. This is an over-arching concept whoseBuilder.build()
method hides caller hierarchy.CheckedBuilder<P,E extends Exception> Deprecated, for removal: This API element is subject to removal in a future version. This is an over-arching concept whoseCheckedBuilder.build()
method hides caller hierarchy.Delegator<T> Implementation of this interface delegates all its calls to the delegate if not specified otherwise.ExtensibleObject<T extends ExtensibleObject<T,E>,E extends ObjectExtension<T,E>> Interface specifying access to extensions attached to a particular object.HierarchicalIdentifier<T extends HierarchicalIdentifier<T>> AnIdentifier
tied to some tree-like structure, similar to howPath
is tied to a conceptual file system.Identifiable<T> A generalized contract of an object which has an identifier.Identifier General identifier interface.IllegalArgumentCodec<S,D> Deprecated, for removal: This API element is subject to removal in a future version. This interface ignores a number of complications when dealing with external forms.Immutable Immutable Object - object does not change its externally-observable state during its lifetime.ItemOrder<T extends ItemOrder<T>> Marker interface for specifying ordering of items.ItemOrder.Ordered Items are ordered and their order is significant.ItemOrder.Unordered Items are unordered and their order is insignificant.ListenerRegistration<T extends EventListener> Class representing aRegistration
of anEventListener
.Mutable Mutable object - object may change it's state during lifecycle.MutationBehaviour<T extends MutationBehaviour<T>> Mutation behavior.ObjectExtension<T extends ExtensibleObject<T,E>,E extends ObjectExtension<T,E>> An extension to a concreteExtensibleObject
.ObjectRegistration<T> Class representing a registration of an object.PrettyTreeAware Utility interface to bridge structures which can be formatted viaPrettyTree
.Registration Class representing a registration.ValueWrapper<T> Wraps around a value object.WritableIdentifier A combination of bothIdentifier
andWritableObject
.WritableObject Marker interface for an object which can be written out to anDataOutput
. -
Class Summary Class Description AbstractDelegator<T> Simple base class for classes which wish to implementDelegator
interface and are not otherwise constrained in their class hierarchy.AbstractIdentifiable<T,I extends T> AbstractIllegalArgumentCodec<S,D> Deprecated, for removal: This API element is subject to removal in a future version. This is a base class for implementing IllegalArgumentCodec, without further use.AbstractListenerRegistration<T extends EventListener> AbstractObjectRegistration<T> Utility registration handle.AbstractRegistration Utility registration handle.AbstractSimpleIdentifiable<T> CheckedValue<T,E extends Exception> Utility holder similar toOptional
, except the empty case contains an Exception, which should be reported, for example via throwing it.Either<T,U> Utility holder of a two-variant value.NoOpListenerRegistration<T extends EventListener> Implementation ofListenerRegistration
which does nothing in itsNoOpObjectRegistration.close()
method.NoOpObjectRegistration<T> Implementation ofObjectRegistration
which does nothing in itsNoOpObjectRegistration.close()
method.ObjectExtensions<O extends ExtensibleObject<O,E>,E extends ObjectExtension<O,E>> UtilityClassToInstanceMap
implementation for implementingExtensibleObject.getExtensions()
method by objects which are themselves implementing the extension.ObjectExtensions.Factory<T,O extends ExtensibleObject<O,E>,E extends ObjectExtension<O,E>> PrettyTree A capture of a tree-like construct, which can be formatted into a pretty-printed tree.SemVer A single version according to Semantic Versioning.WritableObjects Utility methods for working withWritableObject
s.