Class ExecutionResponse


  • public class ExecutionResponse
    extends java.lang.Object
    Represents response on Execution request. Provides the dimensions with headers and the (polling) uri to ExecutionResult (so called dataResult).
    • Constructor Summary

      Constructors 
      Constructor Description
      ExecutionResponse​(java.util.List<ResultDimension> dimensions, java.lang.String executionResultUri)
      Creates new instance of given dimensions and execution result uri.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<ResultDimension> getDimensions()
      List of dimensions describing the result.
      java.lang.String getExecutionResultUri()
      Uri referencing the data result location.
      java.util.Map<java.lang.String,​java.lang.String> getLinks()
      Map of response's links.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ExecutionResponse

        public ExecutionResponse​(java.util.List<ResultDimension> dimensions,
                                 java.lang.String executionResultUri)
        Creates new instance of given dimensions and execution result uri.
        Parameters:
        dimensions - dimensions
        executionResultUri - execution result uri
    • Method Detail

      • getDimensions

        public java.util.List<ResultDimension> getDimensions()
        List of dimensions describing the result.
        Returns:
        dimensions
      • getLinks

        public java.util.Map<java.lang.String,​java.lang.String> getLinks()
        Map of response's links.
        Returns:
        links
      • getExecutionResultUri

        public java.lang.String getExecutionResultUri()
        Uri referencing the data result location.
        Returns:
        execution result uri or throws exception in case the link doesn't exist
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object