public class Build extends Element
Element.ElementArray<E extends Element>
Constructor and Description |
---|
Build() |
Modifier and Type | Method and Description |
---|---|
void |
action(java.lang.String type,
java.lang.String propertyName,
com.google.gson.JsonObject property) |
void |
delete() |
java.util.List<Artifact> |
getArtifacts() |
long |
getCreationTime()
Gets the time in milliseconds when this domain was created.
|
java.lang.String |
getCreationUser()
Gets the user ID that created this build.
|
com.google.gson.JsonObject |
getFailureReason() |
java.lang.String |
getId()
Gets the IBM Streams unique identifier for this build.
|
java.util.List<java.lang.String> |
getLogMessages() |
com.google.gson.JsonObject |
getMetrics() |
java.lang.String |
getName()
Gets the name for this build.
|
java.lang.String |
getStatus()
Gets the status of the build.
|
Build |
submit() |
Build |
submit(java.lang.String propertyName,
com.google.gson.JsonObject property) |
Build |
uploadArchive(java.io.File archive) |
Build |
uploadArchiveAndBuild(java.io.File archive) |
createList, refresh, toString
public long getCreationTime()
public java.lang.String getCreationUser()
public java.lang.String getId()
public java.lang.String getStatus()
public java.lang.String getName()
public com.google.gson.JsonObject getFailureReason()
public com.google.gson.JsonObject getMetrics()
public Build uploadArchive(java.io.File archive) throws java.io.IOException
java.io.IOException
public Build uploadArchiveAndBuild(java.io.File archive) throws java.io.IOException, java.lang.InterruptedException
java.io.IOException
java.lang.InterruptedException
public java.util.List<java.lang.String> getLogMessages() throws java.io.IOException, java.lang.InterruptedException
java.io.IOException
java.lang.InterruptedException
public Build submit(java.lang.String propertyName, com.google.gson.JsonObject property) throws java.io.IOException
java.io.IOException
public Build submit() throws java.io.IOException
java.io.IOException
public void action(java.lang.String type, java.lang.String propertyName, com.google.gson.JsonObject property) throws java.io.IOException
java.io.IOException
public java.util.List<Artifact> getArtifacts() throws java.io.IOException
java.io.IOException
public void delete() throws java.io.IOException
java.io.IOException