Record Class DeviceProfileConfig
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.gateway.opcua.server.api.DeviceProfileConfig
- Record Components:
type
- an identifier unique to the type of Device, i.e., thetypeId
of theDeviceExtensionPoint
.browsePath
- an optional String that defines an additional folder hierarchy underneath the "Devices" folder that this Device should be placed in.rolePermissionMappings
- a List ofRolePermissionMapping
s that define the permissions granted to a role for the Device represented by this profile.
- All Implemented Interfaces:
ExtensionPointProfileConfig
public record DeviceProfileConfig(String type, @Nullable String browsePath, @Nullable List<com.inductiveautomation.ignition.gateway.opcua.server.api.RolePermissionMapping> rolePermissionMappings)
extends Record
implements ExtensionPointProfileConfig
Profile configuration object common to all
Device
s and DeviceExtensionPoint
s.-
Constructor Summary
ConstructorsConstructorDescriptionDeviceProfileConfig
(String type, @Nullable String browsePath, @Nullable List<com.inductiveautomation.ignition.gateway.opcua.server.api.RolePermissionMapping> rolePermissionMappings) Creates an instance of aDeviceProfileConfig
record class. -
Method Summary
Modifier and TypeMethodDescription@Nullable String
Returns the value of thebrowsePath
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.@Nullable List<com.inductiveautomation.ignition.gateway.opcua.server.api.RolePermissionMapping>
Returns the value of therolePermissionMappings
record component.final String
toString()
Returns a string representation of this record class.type()
Returns the value of thetype
record component.
-
Constructor Details
-
DeviceProfileConfig
public DeviceProfileConfig(String type, @Nullable @Nullable String browsePath, @Nullable @Nullable List<com.inductiveautomation.ignition.gateway.opcua.server.api.RolePermissionMapping> rolePermissionMappings) Creates an instance of aDeviceProfileConfig
record class.- Parameters:
type
- the value for thetype
record componentbrowsePath
- the value for thebrowsePath
record componentrolePermissionMappings
- the value for therolePermissionMappings
record component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
type
Returns the value of thetype
record component.- Specified by:
type
in interfaceExtensionPointProfileConfig
- Returns:
- the value of the
type
record component
-
browsePath
Returns the value of thebrowsePath
record component.- Returns:
- the value of the
browsePath
record component
-
rolePermissionMappings
@Nullable public @Nullable List<com.inductiveautomation.ignition.gateway.opcua.server.api.RolePermissionMapping> rolePermissionMappings()Returns the value of therolePermissionMappings
record component.- Returns:
- the value of the
rolePermissionMappings
record component
-