Class ProviderConfiguration
java.lang.Object
com.inductiveautomation.ignition.gateway.tags.managed.ProviderConfiguration
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
Default write handling means that writes to tags will be allowed and will not require a write handler to be installed.boolean
If true, the provider will allow users to define additional properties on the tag, such as alarms, history, and so on.boolean
If true, the user will be allowed to delete tags.The mount path is a folder structure under which all tags for this provider will reside.getName()
boolean
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
Indicates whether values of tags should be stored.long
Not currently implemented fully, is used to mark persistent values stale if value is anything other than 0.boolean
int
hashCode()
setAllowDefaultWriteHandling
(boolean value) If true, writes to tags will be allowed and will not require a write handler to be installed.setAllowTagCustomization
(boolean value) setAllowTagDeletion
(boolean value) setAttribute
(int flag, boolean value) These attributes affect advanced traits of the provider, and currently come from TagProviderPropssetHasDataTypes
(boolean value) setMountPath
(String value) setPersistTags
(boolean value) setPersistValues
(boolean value) setStaleTimeoutMS
(long value) Not currently implemented fully, is used to mark persistent values stale if value is anything other than 0.
-
Constructor Details
-
ProviderConfiguration
-
-
Method Details
-
getName
-
setName
-
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()Not currently implemented fully, is used to mark persistent values stale if value is anything other than 0. -
getMountPath
The mount path is a folder structure under which all tags for this provider will reside. -
getAttributes
-
getAllowDefaultWriteHandling
public boolean getAllowDefaultWriteHandling()Default write handling means that writes to tags will be allowed and will not require a write handler to be installed. -
hasDataTypes
public boolean hasDataTypes() -
setAllowTagCustomization
-
setAllowTagDeletion
-
setPersistTags
-
setPersistValues
-
setStaleTimeoutMS
Not currently implemented fully, is used to mark persistent values stale if value is anything other than 0. -
setAttribute
These attributes affect advanced traits of the provider, and currently come from TagProviderProps -
setMountPath
-
setHasDataTypes
-
setAllowDefaultWriteHandling
If true, writes to tags will be allowed and will not require a write handler to be installed. If false, the manager of the provider must register aWriteHandler
for each tag (or wildcard path) that will allow writes. Registered write handlers will still be called, if this value is true. -
equals
-
hashCode
public int hashCode()
-