Package com.gooddata.sdk.model.connector
Class Status
java.lang.Object
com.gooddata.sdk.model.connector.Status
public class Status
extends java.lang.Object
Connector process status. Deserialization only.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStatus.CodeEnum of connector process status codes -
Method Summary
Modifier and Type Method Description java.lang.StringgetCode()java.lang.StringgetDescription()java.lang.StringgetDetail()booleanisFailed()Returns true when the status means that the connector process failed.booleanisFinished()Returns true when the status means that the connector process has already finished (no matter if it was successful).java.lang.StringtoString()
-
Method Details
-
getCode
public java.lang.String getCode() -
getDetail
public java.lang.String getDetail() -
getDescription
public java.lang.String getDescription() -
isFinished
public boolean isFinished()Returns true when the status means that the connector process has already finished (no matter if it was successful). NOTE: It also returns false in case of inability to resolve the code (e.g. API change)- Returns:
- true when the status means that the connector process has already finished, false otherwise
-
isFailed
public boolean isFailed()Returns true when the status means that the connector process failed. NOTE: It also returns false in case of inability to resolve the code (e.g. API change)- Returns:
- true when the status means that the connector process failed, false otherwise
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-