All Known Implementing Classes:
DataList, DataValue

public interface Data
Data of ExecutionResult, can be of three basic kinds - NULL, list and simple value.
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Interface Description
    static class  Data.DataDeserializer  
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static Data NULL  
  • Method Summary

    Modifier and Type Method Description
    default java.util.List<Data> asList()  
    boolean isList()  
    default boolean isNull()  
    boolean isValue()  
    java.lang.String textValue()  
  • Field Details

  • Method Details

    • isList

      boolean isList()
      Returns:
      true if this instance is of kind list, false otherwise
    • isValue

      boolean isValue()
      Returns:
      true if this instance is of kind value, false otherwise
    • isNull

      default boolean isNull()
      Returns:
      true if this instance is the same as NULL, false otherwise
    • textValue

      java.lang.String textValue()
      Returns:
      text data value, throws exception for data which can't be represented as text
    • asList

      default java.util.List<Data> asList()
      Returns:
      this instance cast to List, may throw exception if this instance is not of kind list.