com.ibm.streamsx.rest.internal.icp4d

Class JobRunConfiguration

  • java.lang.Object
    • com.ibm.streamsx.rest.internal.icp4d.JobRunConfiguration


  • public class JobRunConfiguration
    extends java.lang.Object
    This class represents an entity->configuration object of a JobRun REST resource from the /v2/jobs API of the CP4D.
    Since:
    1.17
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class and Description
      protected static class  Element.ElementArray<E extends com.ibm.streamsx.rest.internal.icp4d.Element>
      internal usage to get the list of elements
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      protected static com.google.gson.Gson gson 
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      protected static <E extends com.ibm.streamsx.rest.internal.icp4d.Element,A extends Element.ElementArray<E>>
      java.util.List<E>
      createList(AbstractConnection sc, java.lang.String uri, java.lang.Class<A> arrayClass) 
      java.lang.String getApplication()
      get the link to the SAB; note that the build is deleted when topology.keepArtifacts is not set to True.
      java.lang.String getJobId() 
      java.lang.String getStreamsInstance()
      Returns the Streams instance name
      java.lang.String toString() 
      • Methods inherited from class java.lang.Object

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

      • gson

        protected static final com.google.gson.Gson gson
    • Constructor Detail

      • JobRunConfiguration

        public JobRunConfiguration()
    • Method Detail

      • getJobId

        public java.lang.String getJobId()
        Returns:
        the jobId
      • getApplication

        public java.lang.String getApplication()
        get the link to the SAB; note that the build is deleted when topology.keepArtifacts is not set to True.
        Returns:
        the application
      • getStreamsInstance

        public java.lang.String getStreamsInstance()
        Returns the Streams instance name
        Returns:
        the streamsInstance
      • toString

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

        protected static final <E extends com.ibm.streamsx.rest.internal.icp4d.Element,A extends Element.ElementArray<E>> java.util.List<E> createList(AbstractConnection sc,
                                                                                                                                                       java.lang.String uri,
                                                                                                                                                       java.lang.Class<A> arrayClass)
                                                                                                                                                throws java.io.IOException
        Throws:
        java.io.IOException
streamsx.topology 2.1 @ IBMStreams GitHub