public class OpenConnectorArchiveBuilder extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
OpenConnectorArchiveBuilder(String archiveGUID,
String archiveName,
String archiveDescription,
OpenMetadataArchiveType archiveType,
String archiveRootName,
String originatorName,
String originatorLicense,
Date creationDate,
long versionNumber,
String versionName)
Typical constructor passes parameters used to build the open metadata archive's property header.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
addConnection(String qualifiedName,
String displayName,
String description,
String userId,
String clearPassword,
String encryptedPassword,
Map<String,String> securedProperties,
Map<String,Object> configurationProperties,
Map<String,String> additionalProperties,
String connectorTypeGUID,
String endpointGUID)
Create a connection entity.
|
protected String |
addConnectorType(String qualifiedName,
String displayName,
String description,
String connectorProviderClassName,
List<String> recognizedSecuredProperties,
List<String> recognizedConfigurationProperties,
List<String> recognizedAdditionalProperties,
Map<String,String> additionalProperties)
Create a connector type entity.
|
protected String |
addConnectorType(String connectorTypeGUID,
String qualifiedName,
String displayName,
String description,
String connectorProviderClassName,
List<String> recognizedSecuredProperties,
List<String> recognizedConfigurationProperties,
List<String> recognizedAdditionalProperties,
Map<String,String> additionalProperties)
Create a connector type entity.
|
protected String |
addEndpoint(String qualifiedName,
String displayName,
String description,
String networkAddress,
String protocol,
Map<String,String> additionalProperties)
Create a endpoint entity.
|
protected OpenMetadataArchive |
getOpenMetadataArchive()
Returns the open metadata type archive containing all of the content loaded by the subclass.
|
protected void |
logBadArchiveContent(String methodName)
Throws an exception if there is a problem building the archive.
|
protected OpenConnectorArchiveBuilder(String archiveGUID, String archiveName, String archiveDescription, OpenMetadataArchiveType archiveType, String archiveRootName, String originatorName, String originatorLicense, Date creationDate, long versionNumber, String versionName)
archiveGUID - unique identifier for this open metadata archive.archiveName - name of the open metadata archive.archiveDescription - description of the open metadata archive.archiveType - enum describing the type of archive this is.archiveRootName - non-spaced root name of the open metadata archive elements.originatorName - name of the originator (person or organization) of the archive.originatorLicense - license for the content.creationDate - data that this archive was created.versionNumber - version number of the archive.versionName - version name for the archive.protected OpenMetadataArchive getOpenMetadataArchive()
protected void logBadArchiveContent(String methodName)
methodName - calling methodprotected String addConnection(String qualifiedName, String displayName, String description, String userId, String clearPassword, String encryptedPassword, Map<String,String> securedProperties, Map<String,Object> configurationProperties, Map<String,String> additionalProperties, String connectorTypeGUID, String endpointGUID)
qualifiedName - unique name for the connectiondisplayName - display name for the connectiondescription - description about the connectionuserId - userId that the connector should use to connect to the platform that hosts the asset.clearPassword - possible password for the connectorencryptedPassword - possible password for the connectorsecuredProperties - properties hidden from the clientconfigurationProperties - properties used to configure the connectoradditionalProperties - any other properties.connectorTypeGUID - unique identifier for the connector typeendpointGUID - unique identifier for the endpoint of the assetprotected String addConnectorType(String connectorTypeGUID, String qualifiedName, String displayName, String description, String connectorProviderClassName, List<String> recognizedSecuredProperties, List<String> recognizedConfigurationProperties, List<String> recognizedAdditionalProperties, Map<String,String> additionalProperties)
connectorTypeGUID - fixed unique identifier for connector type - comes from the Connector ProviderqualifiedName - unique name for the connector typedisplayName - display name for the connector typedescription - description about the connector typeconnectorProviderClassName - code for this type of connectorrecognizedSecuredProperties - names of supported properties hidden from the client - for connection object.recognizedConfigurationProperties - names of supported properties used to configure the connector - for connection object.recognizedAdditionalProperties - names of any other properties for connection object.additionalProperties - any other properties.protected String addConnectorType(String qualifiedName, String displayName, String description, String connectorProviderClassName, List<String> recognizedSecuredProperties, List<String> recognizedConfigurationProperties, List<String> recognizedAdditionalProperties, Map<String,String> additionalProperties)
qualifiedName - unique name for the connector typedisplayName - display name for the connector typedescription - description about the connector typeconnectorProviderClassName - code for this type of connectorrecognizedSecuredProperties - names of supported properties hidden from the client - for connection object.recognizedConfigurationProperties - names of supported properties used to configure the connector - for connection object.recognizedAdditionalProperties - names of any other properties for connection object.additionalProperties - any other properties.protected String addEndpoint(String qualifiedName, String displayName, String description, String networkAddress, String protocol, Map<String,String> additionalProperties)
qualifiedName - unique name for the endpointdisplayName - display name for the endpointdescription - description about the endpointnetworkAddress - location of the assetprotocol - protocol to use to connect to the assetadditionalProperties - any other properties.Copyright © 2018–2020 ODPi. All rights reserved.