Class RegisteredIntegrationConnectorProperties
java.lang.Object
org.odpi.openmetadata.accessservices.governanceengine.properties.RegisteredIntegrationConnectorProperties
RegisteredIntegrationConnectorProperties provides a structure for carrying the properties for a SupportedIntegrationConnector relationship.
-
Constructor Summary
ConstructorDescriptionDefault constructor does nothing.Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Validate that an object is equal depending on their stored values.Return the name of the connector.Return the user id for the connector - if this is null, the integration daemon's userId is used on requests to the Open Metadata Access Service (OMAS).boolean
Return a flag indicating whether the integration connector should create an integration report.Return the qualified name of the metadata source for this integration connector.Return the permitted direction of metadata flow (see the enum definition for more details).long
Return the number of minutes between each call to the connector to refresh the metadata.Return the date/time that this connector can start.Return the date/time that the integration connector should stop running.int
hashCode()
Return a hash code based on the values of this object.void
setConnectorName
(String connectorName) Set up the name of the connector.void
setConnectorUserId
(String connectorUserId) Set up the user id for the connector - if this is null, the integration daemon's userId is used on requests to the Open Metadata Access Service (OMAS).void
setGenerateIntegrationReports
(boolean generateIntegrationReports) Set up a flag indicating whether the integration connector should create an integration report.void
setMetadataSourceQualifiedName
(String metadataSourceQualifiedName) Set up the qualified name of the metadata source for this integration connector.void
setPermittedSynchronization
(PermittedSynchronization permittedSynchronization) Set up the permitted direction of metadata flow (see the enum definition for more details).void
setRefreshTimeInterval
(long refreshTimeInterval) Set up the number of minutes between each call to the connector to refresh the metadata.void
setStartDate
(Date startDate) Set up the date/time that this connector can start.void
setStopDate
(Date stopDate) Set up the date/time that the integration connector should stop running.toString()
Standard toString method.
-
Constructor Details
-
RegisteredIntegrationConnectorProperties
public RegisteredIntegrationConnectorProperties()Default constructor does nothing. -
RegisteredIntegrationConnectorProperties
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getConnectorName
Return the name of the connector. This name is used for routing refresh calls to the connector as well as being used for diagnostics. Ideally it should be unique amongst the connectors for the integration service.- Returns:
- String name
-
setConnectorName
Set up the name of the connector. This name is used for routing refresh calls to the connector as well as being used for diagnostics. Ideally it should be unique amongst the connectors for the integration service.- Parameters:
connectorName
- String
-
getConnectorUserId
Return the user id for the connector - if this is null, the integration daemon's userId is used on requests to the Open Metadata Access Service (OMAS).- Returns:
- string name
-
setConnectorUserId
Set up the user id for the connector - if this is null, the integration daemon's userId is used on requests to the Open Metadata Access Service (OMAS).- Parameters:
connectorUserId
- string name
-
getMetadataSourceQualifiedName
Return the qualified name of the metadata source for this integration connector. This is the qualified name of an appropriate software server capability stored in open metadata. This software server capability is accessed via the partner OMAS.- Returns:
- string name
-
setMetadataSourceQualifiedName
Set up the qualified name of the metadata source for this integration connector. This is the qualified name of an appropriate software server capability stored in open metadata. This software server capability is accessed via the partner OMAS.- Parameters:
metadataSourceQualifiedName
- string name
-
getStartDate
Return the date/time that this connector can start. Null means that it can start immediately.- Returns:
- date
-
setStartDate
Set up the date/time that this connector can start. Null means that it can start immediately.- Parameters:
startDate
- date
-
getRefreshTimeInterval
public long getRefreshTimeInterval()Return the number of minutes between each call to the connector to refresh the metadata. Zero means that refresh is only called at server start up and whenever the refresh REST API request is made to the integration daemon. If the refresh time interval is greater than 0 then additional calls to refresh are added spaced out by the refresh time interval.- Returns:
- minute count
-
setRefreshTimeInterval
public void setRefreshTimeInterval(long refreshTimeInterval) Set up the number of minutes between each call to the connector to refresh the metadata. Zero means that refresh is only called at server start up and whenever the refresh REST API request is made to the integration daemon. If the refresh time interval is greater than 0 then additional calls to refresh are added spaced out by the refresh time interval.- Parameters:
refreshTimeInterval
- minute count
-
getStopDate
Return the date/time that the integration connector should stop running.- Returns:
- date
-
setStopDate
Set up the date/time that the integration connector should stop running.- Parameters:
stopDate
- date
-
getPermittedSynchronization
Return the permitted direction of metadata flow (see the enum definition for more details). Any attempt by the connector to send/receive metadata in a direction that is not permitted results in a UserNotAuthorizedException.- Returns:
- enum
-
setPermittedSynchronization
Set up the permitted direction of metadata flow (see the enum definition for more details). Any attempt by the connector to send/receive metadata in a direction that is not permitted results in a UserNotAuthorizedException.- Parameters:
permittedSynchronization
- enum
-
getGenerateIntegrationReports
public boolean getGenerateIntegrationReports()Return a flag indicating whether the integration connector should create an integration report.- Returns:
- boolean flag (default = true)
-
setGenerateIntegrationReports
public void setGenerateIntegrationReports(boolean generateIntegrationReports) Set up a flag indicating whether the integration connector should create an integration report.- Parameters:
generateIntegrationReports
- boolean flag
-
toString
Standard toString method. -
equals
Validate that an object is equal depending on their stored values. -
hashCode
public int hashCode()Return a hash code based on the values of this object.
-