|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.plugin.invoker.model.BuildJob
public class BuildJob
Describes a build job processed by the Maven Invoker Plugin. A build job can consist of a pre-build hook script, one ore more invocations of Maven and a post-build hook script.
Nested Class Summary | |
---|---|
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 Summary | |
---|---|
BuildJob()
Creates a new empty build job. |
|
BuildJob(String project,
String type)
Creates a new build job with the specified project path and type. |
Method Summary | |
---|---|
String |
getDescription()
Get the description of this build job. |
String |
getFailureMessage()
Get any failure message(s) in case this build job failed. |
String |
getModelEncoding()
Method getModelEncoding. |
String |
getName()
Get the name of this build job. |
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 an encoding used for reading/writing the model. |
void |
setName(String name)
Set the name of this build job. |
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BuildJob()
public BuildJob(String project, String type)
project
- The path to the project.type
- The type of the build job.Method Detail |
---|
public String getDescription()
public String getFailureMessage()
public String getModelEncoding()
public String getName()
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 setProject(String project)
project
- public void setResult(String result)
result
- public void setTime(double time)
time
- public void setType(String type)
type
- public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |