Class PropertyConfigCollection
- java.lang.Object
- 
- com.inductiveautomation.perspective.common.config.PropertyConfigCollection
 
- 
 public class PropertyConfigCollection extends java.lang.Object
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classPropertyConfigCollection.RuntimeGsonAdapterstatic classPropertyConfigCollection.StandardGsonAdapter
 - 
Field SummaryFields Modifier and Type Field Description java.util.Map<PropertyKey,PropertyConfig>configs
 - 
Constructor SummaryConstructors Constructor Description PropertyConfigCollection()PropertyConfigCollection(java.util.Map<PropertyKey,PropertyConfig> map)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddBinding(java.lang.String property, BindingConfig binding)booleanequals(java.lang.Object o)java.util.stream.Stream<java.util.Map.Entry<PropertyKey,PropertyConfig>>filterByConfig(java.util.function.Predicate<PropertyConfig> predicate)java.util.stream.Stream<java.util.Map.Entry<PropertyKey,PropertyConfig>>filterByKey(java.util.function.Predicate<PropertyKey> predicate)java.util.Optional<PropertyConfig>findConfig(PropertyKey key)java.util.Collection<PropertyKey>getProperties()A collection of all properties that have configurations set on theminthashCode()booleanisSystem(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.voidremoveConfig(PropertyKey key)voidsetPersistent(java.lang.String property, boolean persistent)voidsetPrivate(java.lang.String property)Marks a property as private.voidsetSystem(java.lang.String property)Marks a property as system.java.util.stream.Stream<java.util.Map.Entry<PropertyKey,PropertyConfig>>stream()
 
- 
- 
- 
Field Detail- 
configspublic final java.util.Map<PropertyKey,PropertyConfig> configs 
 
- 
 - 
Constructor Detail- 
PropertyConfigCollectionpublic PropertyConfigCollection() 
 - 
PropertyConfigCollectionpublic PropertyConfigCollection(java.util.Map<PropertyKey,PropertyConfig> map) 
 
- 
 - 
Method Detail- 
getPropertiespublic java.util.Collection<PropertyKey> getProperties() A collection of all properties that have configurations set on them
 - 
removeConfigpublic void removeConfig(PropertyKey key) 
 - 
findConfigpublic java.util.Optional<PropertyConfig> findConfig(PropertyKey key) 
 - 
streampublic java.util.stream.Stream<java.util.Map.Entry<PropertyKey,PropertyConfig>> stream() 
 - 
filterByKeypublic java.util.stream.Stream<java.util.Map.Entry<PropertyKey,PropertyConfig>> filterByKey(java.util.function.Predicate<PropertyKey> predicate) 
 - 
filterByConfigpublic java.util.stream.Stream<java.util.Map.Entry<PropertyKey,PropertyConfig>> filterByConfig(java.util.function.Predicate<PropertyConfig> predicate) 
 - 
addBindingpublic void addBinding(java.lang.String property, BindingConfig binding)
 - 
setPersistentpublic void setPersistent(java.lang.String property, boolean persistent)
 - 
isSystempublic 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.
 - 
setSystempublic void setSystem(java.lang.String property) Marks a property as system. Also sets the persistent flag to false
 - 
setPrivatepublic void setPrivate(java.lang.String property) Marks a property as private. Also sets the persistent flag to false
 - 
equalspublic boolean equals(java.lang.Object o) - Overrides:
- equalsin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 
- 
 
-