Class IntegrationContextRefreshProxy
java.lang.Object
org.odpi.openmetadata.frameworks.integration.context.IntegrationContextRefreshProxy
IntegrationContextRefreshProxy is used to provide a protected mechanism for the integration daemon to set
isRefreshInProcess.
-
Constructor Summary
ConstructorDescriptionIntegrationContextRefreshProxy
(IntegrationContext integrationContext) Create the refresh proxy for an integration context. -
Method Summary
Modifier and TypeMethodDescriptionvoid
setRefreshInProgress
(boolean refreshInProgress) Set up whether the refresh is in progress or not.
-
Constructor Details
-
IntegrationContextRefreshProxy
Create the refresh proxy for an integration context.- Parameters:
integrationContext
- context to support
-
-
Method Details
-
setRefreshInProgress
public void setRefreshInProgress(boolean refreshInProgress) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException Set up whether the refresh is in progress or not.- Parameters:
refreshInProgress
- boolean flag- Throws:
InvalidParameterException
- an invalid property has been passedUserNotAuthorizedException
- the user is not authorizedPropertyServerException
- there is a problem communicating with the metadata server (or it has a logic error).
-