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 class  Status.Code
    Enum of connector process status codes
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getCode()  
    java.lang.String getDescription()  
    java.lang.String getDetail()  
    boolean isFailed()
    Returns true when the status means that the connector process failed.
    boolean isFinished()
    Returns true when the status means that the connector process has already finished (no matter if it was successful).
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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:
      toString in class java.lang.Object