public class BuildJob extends Object implements 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.
|
Constructor and Description |
---|
BuildJob()
Creates a new empty build job.
|
BuildJob(String project)
Creates a new build job with the specified project path.
|
Modifier and Type | Method and Description |
---|---|
String |
getBuildlog()
Get the build log filename.
|
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.
|
float |
getTime()
Get the number of seconds that this build job took to
complete.
|
String |
getType()
Get the type of the build job.
|
boolean |
isNotError() |
void |
setBuildlog(String buildlog)
Set the build log filename.
|
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(float 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 BuildJob()
public BuildJob(String project)
project
- The path to the project.public String getBuildlog()
public String getDescription()
public String getFailureMessage()
public String getModelEncoding()
public String getName()
public int getOrdinal()
public String getProject()
public String getResult()
public float getTime()
public String getType()
public void setBuildlog(String buildlog)
buildlog
- a buildlog object.public void setDescription(String description)
description
- a description object.public void setFailureMessage(String failureMessage)
failureMessage
- a failureMessage object.public void setModelEncoding(String modelEncoding)
modelEncoding
- a modelEncoding object.public void setName(String name)
name
- a name object.public void setOrdinal(int ordinal)
ordinal
- a ordinal object.public void setProject(String project)
project
- a project object.public void setResult(String result)
result
- a result object.public void setTime(float time)
time
- a time object.public void setType(String type)
type
- a type object.public boolean isNotError()
Copyright © 2002–2024 The Apache Software Foundation. All rights reserved.