Interface LogPropertyRegistry
public interface LogPropertyRegistry
The Log Property registry is a simple collection of
LogPropertyDescriptor
s. This collection in itself has
no functional use in the Gateway system on its own. Instead, it is provided as a list of 'known' properties can
can be registered for use in graphical components where logging settings are altered. This way, Ignition users
may gain better awareness of what Log Property keys and values may be useful for thier needs.-
Method Summary
Modifier and TypeMethodDescriptionReturns a an immutableList
from the set ofLogPropertyDescriptor
that currently exist.Returns theLogPropertyDescriptor
with the matching key, if it exists.keys()
Returns aSet
of keys collected from the registry'sLogPropertyDescriptor
s.void
register
(LogPropertyDescriptor descriptor) Adds a new key to the registry if it doesn't exist.void
Remove theLogPropertyDescriptor
with the specified key if it exists.
-
Method Details
-
register
Adds a new key to the registry if it doesn't exist. If the key does not already exist, aLogPropertyDescriptor
will be created for the key. -
get
Returns theLogPropertyDescriptor
with the matching key, if it exists. If the key does not exist, returns null;- Parameters:
propertyKey
- the key for the descriptor- Returns:
- matching key, or null if no matching key found.
-
keys
Returns aSet
of keys collected from the registry'sLogPropertyDescriptor
s.- Returns:
- a set of
String
keys. Will return an empty set if no keys are found.
-
descriptors
Returns a an immutableList
from the set ofLogPropertyDescriptor
that currently exist.- Returns:
- a set of descriptor objects. If no objects exist, it will return an empty list.
-
remove
Remove theLogPropertyDescriptor
with the specified key if it exists.
-