public interface SimpleProviderInterface
Modifier and Type | Method and Description |
---|---|
TagConfigSet |
browse(java.lang.String path,
boolean recursive)
Browses the tags under the specified path.
|
void |
configureProvider(ProviderConfiguration config)
Sets various properties of the provider.
|
void |
configureTag(java.lang.String path,
DataType dType,
ExtendedTagType tagType)
Deprecated.
|
void |
configureTag(TagConfiguration config) |
void |
configureTag(TagPath path,
DataType dType,
ExtendedTagType tagType)
Deprecated.
|
void |
configureTagType(ExtendedTagType tagType,
Flags editingFlags,
java.util.Set<TagProp> bindableProperties)
Deprecated.
|
void |
registerWriteHandler(java.lang.String path,
WriteHandler handler)
Registers a callback that will be used when a write is attempted against the specified path.
|
default void |
registerWriteHandler(TagPath path,
WriteHandler handler)
Deprecated.
|
void |
removeTag(java.lang.String path)
Removes the tag from the provider, and deletes any extensions defined for it.
|
default void |
removeTag(TagPath path)
Deprecated.
|
void |
updateValue(java.lang.String path,
java.lang.Object value,
Quality quality)
Updates the value of a tag, creating it if necessary.
|
void |
updateValue(java.lang.String path,
java.lang.Object value,
Quality quality,
java.util.Date timestamp) |
default void |
updateValue(TagPath path,
java.lang.Object value,
Quality quality)
Deprecated.
|
void configureProvider(ProviderConfiguration config)
The provider configuration allows you to configure a few things:
void updateValue(java.lang.String path, java.lang.Object value, Quality quality)
void updateValue(java.lang.String path, java.lang.Object value, Quality quality, java.util.Date timestamp)
@Deprecated default void updateValue(TagPath path, java.lang.Object value, Quality quality)
void configureTag(TagConfiguration config)
@Deprecated void configureTag(java.lang.String path, DataType dType, ExtendedTagType tagType)
@Deprecated void configureTag(TagPath path, DataType dType, ExtendedTagType tagType)
void removeTag(java.lang.String path)
@Deprecated default void removeTag(TagPath path)
@Deprecated void configureTagType(ExtendedTagType tagType, Flags editingFlags, java.util.Set<TagProp> bindableProperties)
void registerWriteHandler(java.lang.String path, WriteHandler handler)
@Deprecated default void registerWriteHandler(TagPath path, WriteHandler handler)
TagConfigSet browse(java.lang.String path, boolean recursive)