Package jetbrains.buildServer.clouds
Interface CloudErrorProvider
-
- All Known Subinterfaces:
CloudClient
,CloudClientEx
,CloudImage
,CloudInstance
- All Known Implementing Classes:
BrokenClient
,CloudClientCanStartProxy
,CloudStateHolder.ImageState
,CloudStateHolder.InstanceState
,DisposingCloudClientProxy
,DummyCloudClient
,DummyCloudImage
,DummyCloudInstance
,ReadonlyClient
,StartInstanceUserAction.StartingInstance
public interface CloudErrorProvider
Error information provider. All user-level errors should be returned using this interface.- Since:
- 5.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CloudErrorInfo
getErrorInfo()
Returns error information of there was an error.
-
-
-
Method Detail
-
getErrorInfo
@Nullable CloudErrorInfo getErrorInfo()
Returns error information of there was an error. If not null value is returned, object is treated as errorneous, and will not be used. Returned error description will be shown in the IU. Object may change the returned value to null to indicate correct state.- Returns:
- error info or null
-
-