public interface ExternalProjectRefreshCallback
Modifier and Type | Method and Description |
---|---|
default void |
onFailure(ExternalSystemTaskId externalTaskId,
java.lang.String errorMessage,
java.lang.String errorDetails)
Is expected to be called when
ExternalSystemProjectResolver.resolveProjectInfo(ExternalSystemTaskId, String, boolean, ExternalSystemExecutionSettings, ExternalSystemTaskNotificationListener)
throws an exception. |
default void |
onFailure(java.lang.String errorMessage,
java.lang.String errorDetails) |
default void |
onSuccess(DataNode<ProjectData> externalProject) |
default void |
onSuccess(ExternalSystemTaskId externalTaskId,
DataNode<ProjectData> externalProject)
Is expected to be called when
ExternalSystemProjectResolver.resolveProjectInfo(ExternalSystemTaskId, String, boolean, ExternalSystemExecutionSettings, ExternalSystemTaskNotificationListener)
returns without exception. |
default void onSuccess(ExternalSystemTaskId externalTaskId, DataNode<ProjectData> externalProject)
ExternalSystemProjectResolver.resolveProjectInfo(ExternalSystemTaskId, String, boolean, ExternalSystemExecutionSettings, ExternalSystemTaskNotificationListener)
returns without exception.externalTaskId
- id of task being called (to use when reporting issues)externalProject
- target external project (if available)default void onSuccess(DataNode<ProjectData> externalProject)
default void onFailure(ExternalSystemTaskId externalTaskId, java.lang.String errorMessage, java.lang.String errorDetails)
ExternalSystemProjectResolver.resolveProjectInfo(ExternalSystemTaskId, String, boolean, ExternalSystemExecutionSettings, ExternalSystemTaskNotificationListener)
throws an exception.externalTaskId
- id of task being called (to use when reporting issues)errorMessage
- errorDetails
- default void onFailure(java.lang.String errorMessage, java.lang.String errorDetails)