public class BuildJob
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
BuildJob.Result
The various results with which a build job can complete.
|
static class |
BuildJob.Type
The various types of a build job.
|
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
description
The description of this build job.
|
private java.lang.String |
failureMessage
Any failure message(s) in case this build job failed.
|
private java.lang.String |
modelEncoding
Field modelEncoding.
|
private java.lang.String |
name
The name of this build job.
|
private java.lang.String |
project
The path to the project to build.
|
private java.lang.String |
result
The result of this build job.
|
private double |
time
The number of seconds that this build job took to complete.
|
private java.lang.String |
type
The type of the build job.
|
Constructor and Description |
---|
BuildJob()
Creates a new empty build job.
|
BuildJob(java.lang.String project,
java.lang.String type)
Creates a new build job with the specified project path and type.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Get the description of this build job.
|
java.lang.String |
getFailureMessage()
Get any failure message(s) in case this build job failed.
|
java.lang.String |
getModelEncoding()
Get the modelEncoding field.
|
java.lang.String |
getName()
Get the name of this build job.
|
java.lang.String |
getProject()
Get the path to the project to build.
|
java.lang.String |
getResult()
Get the result of this build job.
|
double |
getTime()
Get the number of seconds that this build job took to
complete.
|
java.lang.String |
getType()
Get the type of the build job.
|
void |
setDescription(java.lang.String description)
Set the description of this build job.
|
void |
setFailureMessage(java.lang.String failureMessage)
Set any failure message(s) in case this build job failed.
|
void |
setModelEncoding(java.lang.String modelEncoding)
Set the modelEncoding field.
|
void |
setName(java.lang.String name)
Set the name of this build job.
|
void |
setProject(java.lang.String project)
Set the path to the project to build.
|
void |
setResult(java.lang.String result)
Set the result of this build job.
|
void |
setTime(double time)
Set the number of seconds that this build job took to
complete.
|
void |
setType(java.lang.String type)
Set the type of the build job.
|
java.lang.String |
toString() |
private java.lang.String project
private java.lang.String name
private java.lang.String description
private java.lang.String result
private java.lang.String failureMessage
private double time
private java.lang.String type
private java.lang.String modelEncoding
public BuildJob()
public BuildJob(java.lang.String project, java.lang.String type)
project
- The path to the project.type
- The type of the build job.public java.lang.String getDescription()
public java.lang.String getFailureMessage()
public java.lang.String getModelEncoding()
public java.lang.String getName()
public java.lang.String getProject()
public java.lang.String getResult()
public double getTime()
public java.lang.String getType()
public void setDescription(java.lang.String description)
description
- public void setFailureMessage(java.lang.String failureMessage)
failureMessage
- public void setModelEncoding(java.lang.String modelEncoding)
modelEncoding
- public void setName(java.lang.String name)
name
- public void setProject(java.lang.String project)
project
- public void setResult(java.lang.String result)
result
- public void setTime(double time)
time
- public void setType(java.lang.String type)
type
- public java.lang.String toString()
toString
in class java.lang.Object