org.odpi.openmetadata.accessservices.assetlineage.event.AssetLineageEventInterface Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of asset-lineage-api Show documentation
Show all versions of asset-lineage-api Show documentation
API classes for the Asset Lineage Open Metadata Access Service (OMAS).
/* SPDX-License-Identifier: Apache 2.0 */
/* Copyright Contributors to the ODPi Egeria project. */
package org.odpi.openmetadata.accessservices.assetlineage.event;
import org.odpi.openmetadata.frameworks.connectors.ffdc.ConnectionCheckedException;
import org.odpi.openmetadata.frameworks.connectors.ffdc.ConnectorCheckedException;
import org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException;
import org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException;
import org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException;
/**
* AssetLineageEventInterface defines how a client gets access to the
* configuration events produced by the Asset Lineage OMAS.
*/
public interface AssetLineageEventInterface
{
/**
* Register a listener object that will be passed each of the events published by
* the Asset Lineage OMAS.
*
* @param userId calling user
* @param listener listener object
*
* @throws InvalidParameterException one of the parameters is null or invalid.
* @throws ConnectionCheckedException there are errors in the configuration of the connection which is preventing
* the creation of a connector.
* @throws ConnectorCheckedException there are errors in the initialization of the connector.
* @throws PropertyServerException there is a problem retrieving information from the property server(s).
* @throws UserNotAuthorizedException the requesting user is not authorized to issue this request.
*/
void registerListener(String userId,
AssetLineageEventListener listener) throws InvalidParameterException,
ConnectionCheckedException,
ConnectorCheckedException,
PropertyServerException,
UserNotAuthorizedException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy