public class LocalRepositoryConfig extends Object implements Serializable
| Constructor and Description |
|---|
LocalRepositoryConfig()
Default constructor used for JSON to Java processes - does not do anything useful because all
local variables are initialized to null in their declaration.
|
LocalRepositoryConfig(String metadataCollectionId,
Connection localRepositoryLocalConnection,
Connection localRepositoryRemoteConnection,
OpenMetadataExchangeRule eventsToSaveRule,
List<TypeDefSummary> selectedTypesToSave,
OpenMetadataExchangeRule eventsToSendRule,
List<TypeDefSummary> selectedTypesToSend,
Connection eventMapperConnection)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Connection |
getEventMapperConnection()
Return the connection properties for the event mapper for the local repository.
|
OpenMetadataExchangeRule |
getEventsToSaveRule()
Return the enumeration describing which open metadata repository events should be saved to
the local repository.
|
OpenMetadataExchangeRule |
getEventsToSendRule()
Return the enumeration describing which open metadata repository events should be sent from
the local repository.
|
Connection |
getLocalRepositoryLocalConnection()
Return the connection properties used to create a locally optimized connector to the local repository for
use by this local server's components.
|
Connection |
getLocalRepositoryRemoteConnection()
Return the connection properties used to create a connector to the local repository for use by remote servers.
|
String |
getMetadataCollectionId()
Return the unique id of local repository's metadata collection.
|
List<TypeDefSummary> |
getSelectedTypesToSave()
Return the list of TypeDefs in supported of the eventsToSave.SELECTED_TYPES option.
|
List<TypeDefSummary> |
getSelectedTypesToSend()
Return the list of TypeDefs in supported of the eventsToSend.SELECTED_TYPES option.
|
void |
setEventMapperConnection(Connection eventMapperConnection)
Set up the connection properties for the event mapper for the local repository.
|
void |
setEventsToSaveRule(OpenMetadataExchangeRule eventsToSaveRule)
Set up the enumeration describing which open metadata repository events should be saved to
the local repository.
|
void |
setEventsToSendRule(OpenMetadataExchangeRule eventsToSendRule)
Set up the enumeration describing which open metadata repository events should be sent from
the local repository.
|
void |
setLocalRepositoryLocalConnection(Connection localRepositoryLocalConnection)
Set up the connection properties used to create a locally optimized connector to the local repository for
use by this local server's components.
|
void |
setLocalRepositoryRemoteConnection(Connection localRepositoryRemoteConnection)
Set up the connection properties used to create a connector to the local repository for use by remote servers.
|
void |
setMetadataCollectionId(String metadataCollectionId)
Set up the unique id of local repository's metadata collection.
|
void |
setSelectedTypesToSave(List<TypeDefSummary> selectedTypesToSave)
Set up the list of TypeDefs in supported of the eventsToSave.SELECTED_TYPES option.
|
void |
setSelectedTypesToSend(List<TypeDefSummary> selectedTypesToSend)
Set up the list of TypeDefs in supported of the eventsToSend.SELECTED_TYPES option.
|
public LocalRepositoryConfig(String metadataCollectionId, Connection localRepositoryLocalConnection, Connection localRepositoryRemoteConnection, OpenMetadataExchangeRule eventsToSaveRule, List<TypeDefSummary> selectedTypesToSave, OpenMetadataExchangeRule eventsToSendRule, List<TypeDefSummary> selectedTypesToSend, Connection eventMapperConnection)
metadataCollectionId - unique id of local repository's metadata collectionlocalRepositoryLocalConnection - the connection properties used to create a locally optimized connector
to the local repository for use by this local server's components.localRepositoryRemoteConnection - the connection properties used to create a connector
to the local repository for use by remote servers.eventsToSaveRule - enumeration describing which open metadata repository events should be saved to
the local repository.selectedTypesToSave - list of TypeDefs in supported of the eventsToSave.SELECTED_TYPES option.eventsToSendRule - enumeration describing which open metadata repository events should be sent from
the local repository.selectedTypesToSend - list of TypeDefs in supported of the eventsToSend.SELECTED_TYPES option.eventMapperConnection - Connection for the local repository's event mapper. This is optional.public LocalRepositoryConfig()
public String getMetadataCollectionId()
public void setMetadataCollectionId(String metadataCollectionId)
metadataCollectionId - String unique Idpublic Connection getLocalRepositoryLocalConnection()
public void setLocalRepositoryLocalConnection(Connection localRepositoryLocalConnection)
localRepositoryLocalConnection - Connection properties objectpublic Connection getLocalRepositoryRemoteConnection()
public void setLocalRepositoryRemoteConnection(Connection localRepositoryRemoteConnection)
localRepositoryRemoteConnection - Connection properties objectpublic OpenMetadataExchangeRule getEventsToSaveRule()
public void setEventsToSaveRule(OpenMetadataExchangeRule eventsToSaveRule)
eventsToSaveRule - OpenMetadataExchangeRule enumpublic List<TypeDefSummary> getSelectedTypesToSave()
public void setSelectedTypesToSave(List<TypeDefSummary> selectedTypesToSave)
selectedTypesToSave - list of typespublic OpenMetadataExchangeRule getEventsToSendRule()
public void setEventsToSendRule(OpenMetadataExchangeRule eventsToSendRule)
eventsToSendRule - OpenMetadataExchangeRule enumpublic List<TypeDefSummary> getSelectedTypesToSend()
public void setSelectedTypesToSend(List<TypeDefSummary> selectedTypesToSend)
selectedTypesToSend - list of typespublic Connection getEventMapperConnection()
public void setEventMapperConnection(Connection eventMapperConnection)
eventMapperConnection - Connection properties objectCopyright © 2018 ODPi. All rights reserved.