Class ProviderConfiguration
- java.lang.Object
-
- com.inductiveautomation.ignition.gateway.tags.managed.ProviderConfiguration
-
public class ProviderConfiguration extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ProviderConfiguration(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getAllowTagCustomization()
If true, the provider will allow users to define additional properties on the tag, such as alarms, history, and so on.boolean
getAllowTagDeletion()
If true, the user will be allowed to delete tags.Flags
getAttributes()
java.lang.String
getMountPath()
The mount path is a folder structure under which all tags for this provider will reside.java.lang.String
getName()
boolean
getPersistTags()
If true, the system will store definitions for all tags that are created, so that they will be available on startup, even if the system does not create them again.boolean
getPersistValues()
Indicates whether values of tags should be stored.long
getStaleTimeoutMS()
Indicates how often a tag must be updated before it is declared to be stale.ProviderConfiguration
setAllowTagCustomization(boolean value)
ProviderConfiguration
setAllowTagDeletion(boolean value)
ProviderConfiguration
setAttribute(int flag, boolean value)
ProviderConfiguration
setMountPath(java.lang.String value)
ProviderConfiguration
setName(java.lang.String name)
ProviderConfiguration
setPersistTags(boolean value)
ProviderConfiguration
setPersistValues(boolean value)
ProviderConfiguration
setStaleTimeoutMS(long value)
-
-
-
Method Detail
-
getName
public java.lang.String getName()
-
setName
public ProviderConfiguration setName(java.lang.String name)
-
getAllowTagCustomization
public boolean getAllowTagCustomization()
If true, the provider will allow users to define additional properties on the tag, such as alarms, history, and so on. Default is TRUE.
-
getAllowTagDeletion
public boolean getAllowTagDeletion()
If true, the user will be allowed to delete tags. Otherwise the provider will be the only entity allowed to manage tag removal. Default is FALSE.
-
getPersistTags
public boolean getPersistTags()
If true, the system will store definitions for all tags that are created, so that they will be available on startup, even if the system does not create them again. This is useful for systems that build tag models on outside data that might take some time to acquire, or otherwise might not be available immediately on startup, and will be later reconciled. A few notes on compatibility with other settings: 1) If this property is FALSE, but AllowTagCustomizations is TRUE, only changes created by the user will be stored, and the tag will not be displayed until created by the manager. 2) If this is FALSE, PersistValues will be ignored.
-
getPersistValues
public boolean getPersistValues()
Indicates whether values of tags should be stored. Used in conjunction with PersistTags, as it is ignored if tags are not persisted. If TRUE, values will be stored and loaded on startup. If FALSE, loaded tags will have bad (stale) quality until they are updated by the manager.
-
getStaleTimeoutMS
public long getStaleTimeoutMS()
Indicates how often a tag must be updated before it is declared to be stale. In other words, the manager must update values (even to the same value) at least this often.
-
getMountPath
public java.lang.String getMountPath()
The mount path is a folder structure under which all tags for this provider will reside.
-
getAttributes
public Flags getAttributes()
-
setAllowTagCustomization
public ProviderConfiguration setAllowTagCustomization(boolean value)
-
setAllowTagDeletion
public ProviderConfiguration setAllowTagDeletion(boolean value)
-
setPersistTags
public ProviderConfiguration setPersistTags(boolean value)
-
setPersistValues
public ProviderConfiguration setPersistValues(boolean value)
-
setStaleTimeoutMS
public ProviderConfiguration setStaleTimeoutMS(long value)
-
setAttribute
public ProviderConfiguration setAttribute(int flag, boolean value)
-
setMountPath
public ProviderConfiguration setMountPath(java.lang.String value)
-
-