com.ibm.streamsx.rest.build

Class Build



  • public class Build
    extends Element
    An object describing an IBM Streams build.
    • Constructor Detail

      • Build

        public Build()
    • Method Detail

      • getCreationTime

        public long getCreationTime()
        Gets the time in milliseconds when this domain was created.
        Returns:
        the epoch time in milliseconds when the domain was created.
      • getCreationUser

        public java.lang.String getCreationUser()
        Gets the user ID that created this build.
        Returns:
        the creation user ID
      • getId

        public java.lang.String getId()
        Gets the IBM Streams unique identifier for this build.
        Returns:
        the IBM Streams unique identifier.
      • getStatus

        public java.lang.String getStatus()
        Gets the status of the build.
        Returns:
        the instance status that contains one of the following values:
        • running
        • stopping
        • stopped
        • starting
        • removing
        • unknown
        • built
        • failed
      • getName

        public java.lang.String getName()
        Gets the name for this build.
        Returns:
        name for this build.
      • getFailureReason

        public com.google.gson.JsonObject getFailureReason()
        Returns:
        the failureReason
      • getMetrics

        public com.google.gson.JsonObject getMetrics()
      • uploadArchive

        public Build uploadArchive(java.io.File archive)
                            throws java.io.IOException
        Throws:
        java.io.IOException
      • uploadArchiveAndBuild

        public Build uploadArchiveAndBuild(java.io.File archive)
                                    throws java.io.IOException,
                                           java.lang.InterruptedException
        Throws:
        java.io.IOException
        java.lang.InterruptedException
      • getLogMessages

        public java.util.List<java.lang.String> getLogMessages()
                                                        throws java.io.IOException,
                                                               java.lang.InterruptedException
        Throws:
        java.io.IOException
        java.lang.InterruptedException
      • submit

        public Build submit(java.lang.String propertyName,
                            com.google.gson.JsonObject property)
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • submit

        public Build submit()
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • action

        public void action(java.lang.String type,
                           java.lang.String propertyName,
                           com.google.gson.JsonObject property)
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • getArtifacts

        public java.util.List<Artifact> getArtifacts()
                                              throws java.io.IOException
        Throws:
        java.io.IOException
      • delete

        public void delete()
                    throws java.io.IOException
        Throws:
        java.io.IOException
streamsx.topology 2.1 @ IBMStreams GitHub