Class OpcConnectionExtensionPoint<S>
java.lang.Object
com.inductiveautomation.ignition.gateway.config.AbstractExtensionPoint<S>
com.inductiveautomation.ignition.gateway.opc.OpcConnectionExtensionPoint<S>
- Type Parameters:
S
- the type of settings used by the OpcConnection provided by this extension point.
- All Implemented Interfaces:
ExtensionPoint<S>
,Comparable<ExtensionPoint<S>>
Base class for
ExtensionPoint
s that provide an OpcConnection
implementation.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.inductiveautomation.ignition.gateway.config.ExtensionPoint
ExtensionPoint.ComponentType
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ResourceType
TheResourceType
used by all OPC Connections in the configuration resource collection.Fields inherited from class com.inductiveautomation.ignition.gateway.config.AbstractExtensionPoint
descriptionKey, gson, nameKey, typeId, validator
Fields inherited from interface com.inductiveautomation.ignition.gateway.config.ExtensionPoint
PROFILE_KEY, SETTINGS_KEY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal OpcConnection
create
(GatewayContext context, OpcSubscriptionModel model, String name, ExtensionPointConfig<OpcConnectionConfig, ?> config) abstract OpcConnection
create
(GatewayContext context, OpcSubscriptionModel model, String name, OpcConnectionConfig profileConfig, S extensionConfig) Create a newOpcConnection
of the type provided by this extension point.Optional<Collection<Property<?>>>
Optional<Collection<Property<?>>>
final ResourceType
The resource type shared by all types of this extension point.Methods inherited from class com.inductiveautomation.ignition.gateway.config.AbstractExtensionPoint
addReferenceProperty, buildGson, buildValidator, customizeGson, decode, description, encode, getReferenceFinders, getSettingsValidator, name, typeId, validate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.inductiveautomation.ignition.gateway.config.ExtensionPoint
canCreate, compareTo, defaultSettings, getMenuActions, getSettings, getWebUiComponent, settingsSchema
-
Field Details
-
RESOURCE_TYPE
TheResourceType
used by all OPC Connections in the configuration resource collection.
-
-
Constructor Details
-
OpcConnectionExtensionPoint
-
-
Method Details
-
settingsType
- Returns:
- the Class of the settings object for this ExtensionPoint, if it has one. If this
ExtensionPoint does not have settings, return
Optional.empty()
. By default, this method returns the class of the object returned fromExtensionPoint.defaultSettings()
, if one is provided.
-
resourceType
Description copied from interface:ExtensionPoint
The resource type shared by all types of this extension point. This is used to group extension points together. For example, all alarm journal types would share the same resource type, but have different typeIds. -
create
public final OpcConnection create(GatewayContext context, OpcSubscriptionModel model, String name, ExtensionPointConfig<OpcConnectionConfig, ?> config) -
create
public abstract OpcConnection create(GatewayContext context, OpcSubscriptionModel model, String name, OpcConnectionConfig profileConfig, S extensionConfig) Create a newOpcConnection
of the type provided by this extension point.- Parameters:
context
- theGatewayContext
.model
- the Gateway'sOpcSubscriptionModel
.profileConfig
- configuration shared by all OPC connections.extensionConfig
- configuration for the type of connection created by this extension point.- Returns:
- a new
OpcConnection
instance.
-
getTagExtensionProperties
-
getTagGroupExtensionProperties
-