Interface LogPropertyRegistry
public interface LogPropertyRegistry
The Log Property registry is a simple collection of
LogPropertyDescriptors. 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 immutableListfrom the set ofLogPropertyDescriptorthat currently exist.Returns theLogPropertyDescriptorwith the matching key, if it exists.keys()Returns aSetof keys collected from the registry'sLogPropertyDescriptors.voidregister(LogPropertyDescriptor descriptor) Adds a new key to the registry if it doesn't exist.voidRemove theLogPropertyDescriptorwith 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, aLogPropertyDescriptorwill be created for the key. -
get
Returns theLogPropertyDescriptorwith 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 aSetof keys collected from the registry'sLogPropertyDescriptors.- Returns:
- a set of
Stringkeys. Will return an empty set if no keys are found.
-
descriptors
Returns a an immutableListfrom the set ofLogPropertyDescriptorthat currently exist.- Returns:
- a set of descriptor objects. If no objects exist, it will return an empty list.
-
remove
Remove theLogPropertyDescriptorwith the specified key if it exists.
-