Class PropertyConfigCollection
java.lang.Object
com.inductiveautomation.perspective.common.config.PropertyConfigCollection
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoid
addBinding
(String property, BindingConfig binding) boolean
filterByConfig
(Predicate<PropertyConfig> predicate) filterByKey
(Predicate<PropertyKey> predicate) findConfig
(PropertyKey key) A collection of all properties that have configurations set on themint
hashCode()
boolean
isSystem
(PropertyKey key) Returns true if this property is marked as a system property, either directly or because a parent or child is a system property.void
removeConfig
(PropertyKey key) void
setPersistent
(String property, boolean persistent) void
setPrivate
(String property) Marks a property as private.void
Marks a property as system.stream()
-
Field Details
-
configs
-
-
Constructor Details
-
PropertyConfigCollection
public PropertyConfigCollection() -
PropertyConfigCollection
-
-
Method Details
-
getProperties
A collection of all properties that have configurations set on them -
removeConfig
-
findConfig
-
stream
-
filterByKey
-
filterByConfig
public Stream<Map.Entry<PropertyKey,PropertyConfig>> filterByConfig(Predicate<PropertyConfig> predicate) -
addBinding
-
setPersistent
-
isSystem
Returns true if this property is marked as a system property, either directly or because a parent or child is a system property. -
setSystem
Marks a property as system. Also sets the persistent flag to false -
setPrivate
Marks a property as private. Also sets the persistent flag to false -
equals
-
hashCode
public int hashCode()
-