org.refcodes.structure.CanonicalMap
, org.refcodes.structure.Containable
, org.refcodes.mixin.DelimiterAccessor
, org.refcodes.structure.Dictionary<String,T>
, org.refcodes.mixin.Dumpable
, org.refcodes.structure.Keys<String,T>
, org.refcodes.observer.Observable<PropertiesObserver>
, org.refcodes.structure.PathMap<String>
, org.refcodes.configuration.Properties
, org.refcodes.structure.PropertiesAccessorMixin
, org.refcodes.mixin.TypeAccessor<String>
ObservableProperties.ObservableMutableProperties
, ObservableProperties.ObservablePropertiesBuilder
, ObservableResouceProperties
, ObservableResouceProperties.ObservableMutableResourceProperties
, ObservableResouceProperties.ObservableResourcePropertiesBuilder
AbstractObservablePropertiesBuilderDecorator
, AbstractObservableResourcePropertiesBuilderDecorator
, ObservableJavaPropertiesBuilderImpl
, ObservableJsonPropertiesBuilderImpl
, ObservablePropertiesBuilderDecorator
, ObservableResourcePropertiesBuilderDecorator
, ObservableTomlPropertiesBuilderImpl
, ObservableXmlPropertiesBuilderImpl
, ObservableYamlPropertiesBuilderImpl
public interface ObservableProperties extends org.refcodes.configuration.Properties, org.refcodes.observer.Observable<PropertiesObserver>
ObservableProperties
represent Properties
which are
observable in terms of create, update and delete operations:
Create: Whenever a property is created (as of
Keys.MutableValues.put(Object, Object)
) in the related
ObservableProperties
instance, then the
PropertiesObserver.onPropertyCreatedEvent(PropertyCreatedEvent)
method of a registered PropertiesObserver
instance is invoked.
Update: Whenever an existing property (as of
Keys.containsKey(Object)
) is updated in the related
ObservableProperties
instance (as of
Keys.MutableValues.put(Object, Object)
or the like}, then the
PropertiesObserver.onPropertyUpdatedEvent(PropertyUpdatedEvent)
method of a registered PropertiesObserver
instance is invoked.
Delete: Whenever a property is deleted (as of
Map.remove(Object)
), then the
PropertiesObserver.onPropertyDeletedEvent(PropertyDeletedEvent)
method of a registered PropertiesObserver
instance is invoked.
A catch-all (lambda) for all events is provided by the
PropertiesObserver
via the
PropertiesObserver.onEvent(PropertyEvent)
method. You can provide a
lambda expression when calling
Observable.subscribeObserver(Object)
, thereby implementing this
catch-all method.Modifier and Type | Interface | Description |
---|---|---|
static interface |
ObservableProperties.ObservableMutableProperties |
The
ObservableProperties.ObservableMutableProperties represent mutable
ObservableProperties . |
static interface |
ObservableProperties.ObservablePropertiesBuilder |
The
ObservableProperties.ObservablePropertiesBuilder represents a
ObservableProperties.ObservableMutableProperties builder. |
org.refcodes.structure.CanonicalMap.CanonicalMapBuilder, org.refcodes.structure.CanonicalMap.MutableCanonicalMap
org.refcodes.mixin.DelimiterAccessor.DelimiterBuilder<B extends org.refcodes.mixin.DelimiterAccessor.DelimiterBuilder<B>>, org.refcodes.mixin.DelimiterAccessor.DelimiterMutator, org.refcodes.mixin.DelimiterAccessor.DelimiterProperty
org.refcodes.structure.Dictionary.MutableDictionary<K extends Object,V extends Object>
org.refcodes.structure.Keys.MutableKeys<K extends Object,V extends Object>, org.refcodes.structure.Keys.MutableValues<K extends Object,V extends Object>
org.refcodes.structure.PathMap.MutablePathMap<T extends Object>, org.refcodes.structure.PathMap.PathMapBuilder<T extends Object>
org.refcodes.configuration.Properties.MutableProperties, org.refcodes.configuration.Properties.PropertiesBuilder
org.refcodes.structure.PropertiesAccessorMixin.PropertiesBuilderMixin<T extends Object>, org.refcodes.structure.PropertiesAccessorMixin.PropertiesMixin, org.refcodes.structure.PropertiesAccessorMixin.PropertiesMutatorMixin
toInstance, toInstance, toType, toType
containsKey, get, get, keySet, use, values
hasObserverSubscription, subscribeObserver, unsubscribeObserver
directories, directories, entries, entries, fromExternalKey, getArray, getArray, getRootPath, hasParentPath, isArray, isArray, isDirectory, isEntry, isRecord, isRootPath, keySet, paths, paths, records, records, toDataStructure, toDataStructure, toExternalKey, toMap, toNormalizedPath, toNormalizedPath, toParentPath, toPath
childrenOf, containsValue, getDelimiter, getType, retrieve, retrieveFrom, retrieveTo, toMap, toProperties, toPropertyPath
containsKey, get, getBoolean, getBoolean, getByte, getByte, getCharacter, getCharacter, getDouble, getDouble, getFloat, getFloat, getInteger, getInteger, getLong, getLong, getShort, getShort, use, useBoolean, useBoolean, useByte, useByte, useDouble, useDouble, useFloat, useFloat, useInteger, useInteger, useLong, useLong, useShort, useShort
Copyright © 2018. All rights reserved.