Record Class DBAuthPropertiesResource
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.gateway.authentication.resources.DBAuthPropertiesResource
public record DBAuthPropertiesResource(String datasource, DBAuthMode mode, String authQuery, String badgeAuthQuery, String roleQuery, String userRoleQuery, String findUserQuery, String userQuery, String contactInfoQuery, String scheduleAdjustmentQuery, String extraPropsQuery, String tableNamePrefix, Boolean enableUuids)
extends Record
This class is used to define the configuration properties for the DB user source.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDBAuthPropertiesResource(String datasource, DBAuthMode mode, String authQuery, String badgeAuthQuery, String roleQuery, String userRoleQuery, String findUserQuery, String userQuery, String contactInfoQuery, String scheduleAdjustmentQuery, String extraPropsQuery, String tableNamePrefix, Boolean enableUuids) Creates an instance of aDBAuthPropertiesResourcerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theauthQueryrecord component.Returns the value of thebadgeAuthQueryrecord component.Returns the value of thecontactInfoQueryrecord component.Returns the value of thedatasourcerecord component.Returns the value of theenableUuidsrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theextraPropsQueryrecord component.Returns the value of thefindUserQueryrecord component.final inthashCode()Returns a hash code value for this object.mode()Returns the value of themoderecord component.Returns the value of theroleQueryrecord component.Returns the value of thescheduleAdjustmentQueryrecord component.Returns the value of thetableNamePrefixrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theuserQueryrecord component.Returns the value of theuserRoleQueryrecord component.
-
Field Details
-
EXTENSION_POINT_TYPE
- See Also:
-
-
Constructor Details
-
DBAuthPropertiesResource
public DBAuthPropertiesResource(String datasource, DBAuthMode mode, String authQuery, String badgeAuthQuery, String roleQuery, String userRoleQuery, String findUserQuery, String userQuery, String contactInfoQuery, String scheduleAdjustmentQuery, String extraPropsQuery, String tableNamePrefix, Boolean enableUuids) Creates an instance of aDBAuthPropertiesResourcerecord class.- Parameters:
datasource- the value for thedatasourcerecord componentmode- the value for themoderecord componentauthQuery- the value for theauthQueryrecord componentbadgeAuthQuery- the value for thebadgeAuthQueryrecord componentroleQuery- the value for theroleQueryrecord componentuserRoleQuery- the value for theuserRoleQueryrecord componentfindUserQuery- the value for thefindUserQueryrecord componentuserQuery- the value for theuserQueryrecord componentcontactInfoQuery- the value for thecontactInfoQueryrecord componentscheduleAdjustmentQuery- the value for thescheduleAdjustmentQueryrecord componentextraPropsQuery- the value for theextraPropsQueryrecord componenttableNamePrefix- the value for thetableNamePrefixrecord componentenableUuids- the value for theenableUuidsrecord 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). -
datasource
Returns the value of thedatasourcerecord component.- Returns:
- the value of the
datasourcerecord component
-
mode
Returns the value of themoderecord component.- Returns:
- the value of the
moderecord component
-
authQuery
Returns the value of theauthQueryrecord component.- Returns:
- the value of the
authQueryrecord component
-
badgeAuthQuery
Returns the value of thebadgeAuthQueryrecord component.- Returns:
- the value of the
badgeAuthQueryrecord component
-
roleQuery
Returns the value of theroleQueryrecord component.- Returns:
- the value of the
roleQueryrecord component
-
userRoleQuery
Returns the value of theuserRoleQueryrecord component.- Returns:
- the value of the
userRoleQueryrecord component
-
findUserQuery
Returns the value of thefindUserQueryrecord component.- Returns:
- the value of the
findUserQueryrecord component
-
userQuery
Returns the value of theuserQueryrecord component.- Returns:
- the value of the
userQueryrecord component
-
contactInfoQuery
Returns the value of thecontactInfoQueryrecord component.- Returns:
- the value of the
contactInfoQueryrecord component
-
scheduleAdjustmentQuery
Returns the value of thescheduleAdjustmentQueryrecord component.- Returns:
- the value of the
scheduleAdjustmentQueryrecord component
-
extraPropsQuery
Returns the value of theextraPropsQueryrecord component.- Returns:
- the value of the
extraPropsQueryrecord component
-
tableNamePrefix
Returns the value of thetableNamePrefixrecord component.- Returns:
- the value of the
tableNamePrefixrecord component
-
enableUuids
Returns the value of theenableUuidsrecord component.- Returns:
- the value of the
enableUuidsrecord component
-