com.ibm.streamsx.topology.context

Interface ResultProperties



  • public interface ResultProperties
    Result properties. Properties that contain values as a result of the submission of a topology.

    Result properties are optionally placed into the configuration map passed into StreamsContext.submit(com.ibm.streamsx.topology.Topology, java.util.Map). Each property must be individually requested by adding its key into the configuration map with any value. Upon return the value will be replaced by value obtained during submission. In some contexts the value may not be available.

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String JOB_SUBMISSION
      Result of a successful job submission as a JSON object.
    • Field Detail

      • JOB_SUBMISSION

        static final java.lang.String JOB_SUBMISSION
        Result of a successful job submission as a JSON object. For contexts that use a REST api the value is a com.google.gson.JsonObject holding these values:
        • The JSON response from the HTTP REST request to submit the job.
        • buildStatus - JSON object response from the HTTP REST request to build the topology.
        • submitMetrics - JSON object containing metrics related to build service and job submission.
        • console.application.url - Streams console URL for the instance the job was submitted to.
        • console.application.job.url - Streams console URL for the job.
        Note that not all values may be produced, depending on context, and contents are subject to change.
        For other contexts no object is produced.
        Since:
        1.11
        See Also:
        Constant Field Values
streamsx.topology 2.1 @ IBMStreams GitHub