|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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(java.lang.String project,
java.lang.String type)
Creates a new build job with the specified project path and type. |
Method Summary | |
---|---|
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()
|
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)
|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
public java.lang.String getDescription()
public java.lang.String getFailureMessage()
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 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
public void setModelEncoding(java.lang.String modelEncoding)
public java.lang.String getModelEncoding()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |