Class ConnectionBuilder


  • public class ConnectionBuilder
    extends ReferenceableBuilder
    ConnectionBuilder is able to build the properties for a Connection entity from a Connection bean.
    • Constructor Detail

      • ConnectionBuilder

        public ConnectionBuilder​(String qualifiedName,
                                 String displayName,
                                 String description,
                                 OMRSRepositoryHelper repositoryHelper,
                                 String serviceName,
                                 String serverName)
        Constructor when basic properties are known.
        Parameters:
        qualifiedName - unique name
        repositoryHelper - helper methods
        displayName - display name of connection
        description - description of connection
        serviceName - name of this OMAS
        serverName - name of local server
      • ConnectionBuilder

        public ConnectionBuilder​(String qualifiedName,
                                 String displayName,
                                 String description,
                                 Map<String,​String> additionalProperties,
                                 Map<String,​String> securedProperties,
                                 Map<String,​Object> configurationProperties,
                                 String connectorUserId,
                                 String clearPassword,
                                 String encryptedPassword,
                                 Map<String,​Object> extendedProperties,
                                 OMRSRepositoryHelper repositoryHelper,
                                 String serviceName,
                                 String serverName)
        Constructor supporting all properties.
        Parameters:
        qualifiedName - unique name
        displayName - new value for the display name.
        description - new description for the connection.
        additionalProperties - additional properties
        securedProperties - protected properties
        configurationProperties - properties passed to configure underlying technologies
        connectorUserId - user identity that the connector should use
        clearPassword - password for the userId in clear text
        encryptedPassword - encrypted password that the connector needs to decrypt before use
        extendedProperties - properties from the subtype.
        repositoryHelper - helper methods
        serviceName - name of this OMAS
        serverName - name of local server