Serializable
public class BuildJob extends Object implements Serializable
Modifier and Type | Class | 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.
|
Constructor | Description |
---|---|
BuildJob() |
Creates a new empty build job.
|
BuildJob(String project,
String type) |
Creates a new build job with the specified project path and type.
|
Modifier and Type | Method | Description |
---|---|---|
String |
getDescription() |
Get the description of this build job.
|
String |
getFailureMessage() |
Get any failure message(s) in case this build job failed.
|
String |
getModelEncoding() |
Get the modelEncoding field.
|
String |
getName() |
Get the name of this build job.
|
int |
getOrdinal() |
Get buildJobs will be sorted in the descending order of the
ordinal.
|
String |
getProject() |
Get the path to the project to build.
|
String |
getResult() |
Get the result of this build job.
|
double |
getTime() |
Get the number of seconds that this build job took to
complete.
|
String |
getType() |
Get the type of the build job.
|
void |
setDescription(String description) |
Set the description of this build job.
|
void |
setFailureMessage(String failureMessage) |
Set any failure message(s) in case this build job failed.
|
void |
setModelEncoding(String modelEncoding) |
Set the modelEncoding field.
|
void |
setName(String name) |
Set the name of this build job.
|
void |
setOrdinal(int ordinal) |
Set buildJobs will be sorted in the descending order of the
ordinal.
|
void |
setProject(String project) |
Set the path to the project to build.
|
void |
setResult(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(String type) |
Set the type of the build job.
|
String |
toString() |
public String getDescription()
public String getFailureMessage()
public String getModelEncoding()
public String getName()
public int getOrdinal()
public String getProject()
public String getResult()
public double getTime()
public String getType()
public void setDescription(String description)
description
- public void setFailureMessage(String failureMessage)
failureMessage
- public void setModelEncoding(String modelEncoding)
modelEncoding
- public void setName(String name)
name
- public void setOrdinal(int ordinal)
ordinal
- public void setProject(String project)
project
- public void setResult(String result)
result
- public void setTime(double time)
time
- public void setType(String type)
type
- Copyright © 2002–2019 The Apache Software Foundation. All rights reserved.