Class Build
- java.lang.Object
-
- org.apache.maven.buildcache.xml.build.Build
-
- All Implemented Interfaces:
Serializable
public class Build extends Object implements Serializable
Class Build.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Build()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAttachedArtifact(Artifact artifact)Method addAttachedArtifact.voidaddExecution(CompletedExecution completedExecution)Method addExecution.voidaddGoal(String string)Method addGoal.ArtifactgetArtifact()Get the artifact field.List<Artifact>getAttachedArtifacts()Method getAttachedArtifacts.StringgetBuildServer()Get the buildServer field.DategetBuildTime()Get the buildTime field.StringgetCacheImplementationVersion()Get the cacheImplementationVersion field.List<CompletedExecution>getExecutions()Method getExecutions.List<String>getGoals()Method getGoals.StringgetHashFunction()Get the hashFunction field.StringgetModelEncoding()Get the modelEncoding field.ProjectsInputInfogetProjectsInputInfo()Get the projectsInputInfo field.ScmgetScm()Get the scm field.Booleanis_final()Get the _final field.voidremoveAttachedArtifact(Artifact artifact)Method removeAttachedArtifact.voidremoveExecution(CompletedExecution completedExecution)Method removeExecution.voidremoveGoal(String string)Method removeGoal.voidset_final(Boolean _final)Set the _final field.voidsetArtifact(Artifact artifact)Set the artifact field.voidsetAttachedArtifacts(List<Artifact> attachedArtifacts)Set the attachedArtifacts field.voidsetBuildServer(String buildServer)Set the buildServer field.voidsetBuildTime(Date buildTime)Set the buildTime field.voidsetCacheImplementationVersion(String cacheImplementationVersion)Set the cacheImplementationVersion field.voidsetExecutions(List<CompletedExecution> executions)Set the executions field.voidsetGoals(List<String> goals)Set the goals field.voidsetHashFunction(String hashFunction)Set the hashFunction field.voidsetModelEncoding(String modelEncoding)Set the modelEncoding field.voidsetProjectsInputInfo(ProjectsInputInfo projectsInputInfo)Set the projectsInputInfo field.voidsetScm(Scm scm)Set the scm field.
-
-
-
Method Detail
-
addAttachedArtifact
public void addAttachedArtifact(Artifact artifact)
Method addAttachedArtifact.- Parameters:
artifact- a artifact object.
-
addExecution
public void addExecution(CompletedExecution completedExecution)
Method addExecution.- Parameters:
completedExecution- a completedExecution object.
-
addGoal
public void addGoal(String string)
Method addGoal.- Parameters:
string- a string object.
-
getArtifact
public Artifact getArtifact()
Get the artifact field.- Returns:
- Artifact
-
getAttachedArtifacts
public List<Artifact> getAttachedArtifacts()
Method getAttachedArtifacts.- Returns:
- List
-
getBuildServer
public String getBuildServer()
Get the buildServer field.- Returns:
- String
-
getBuildTime
public Date getBuildTime()
Get the buildTime field.- Returns:
- Date
-
getCacheImplementationVersion
public String getCacheImplementationVersion()
Get the cacheImplementationVersion field.- Returns:
- String
-
getExecutions
public List<CompletedExecution> getExecutions()
Method getExecutions.- Returns:
- List
-
getHashFunction
public String getHashFunction()
Get the hashFunction field.- Returns:
- String
-
getModelEncoding
public String getModelEncoding()
Get the modelEncoding field.- Returns:
- String
-
getProjectsInputInfo
public ProjectsInputInfo getProjectsInputInfo()
Get the projectsInputInfo field.- Returns:
- ProjectsInputInfo
-
getScm
public Scm getScm()
Get the scm field.- Returns:
- Scm
-
is_final
public Boolean is_final()
Get the _final field.- Returns:
- Boolean
-
removeAttachedArtifact
public void removeAttachedArtifact(Artifact artifact)
Method removeAttachedArtifact.- Parameters:
artifact- a artifact object.
-
removeExecution
public void removeExecution(CompletedExecution completedExecution)
Method removeExecution.- Parameters:
completedExecution- a completedExecution object.
-
removeGoal
public void removeGoal(String string)
Method removeGoal.- Parameters:
string- a string object.
-
setArtifact
public void setArtifact(Artifact artifact)
Set the artifact field.- Parameters:
artifact- a artifact object.
-
setAttachedArtifacts
public void setAttachedArtifacts(List<Artifact> attachedArtifacts)
Set the attachedArtifacts field.- Parameters:
attachedArtifacts- a attachedArtifacts object.
-
setBuildServer
public void setBuildServer(String buildServer)
Set the buildServer field.- Parameters:
buildServer- a buildServer object.
-
setBuildTime
public void setBuildTime(Date buildTime)
Set the buildTime field.- Parameters:
buildTime- a buildTime object.
-
setCacheImplementationVersion
public void setCacheImplementationVersion(String cacheImplementationVersion)
Set the cacheImplementationVersion field.- Parameters:
cacheImplementationVersion- a cacheImplementationVersion object.
-
setExecutions
public void setExecutions(List<CompletedExecution> executions)
Set the executions field.- Parameters:
executions- a executions object.
-
setGoals
public void setGoals(List<String> goals)
Set the goals field.- Parameters:
goals- a goals object.
-
setHashFunction
public void setHashFunction(String hashFunction)
Set the hashFunction field.- Parameters:
hashFunction- a hashFunction object.
-
setModelEncoding
public void setModelEncoding(String modelEncoding)
Set the modelEncoding field.- Parameters:
modelEncoding- a modelEncoding object.
-
setProjectsInputInfo
public void setProjectsInputInfo(ProjectsInputInfo projectsInputInfo)
Set the projectsInputInfo field.- Parameters:
projectsInputInfo- a projectsInputInfo object.
-
setScm
public void setScm(Scm scm)
Set the scm field.- Parameters:
scm- a scm object.
-
set_final
public void set_final(Boolean _final)
Set the _final field.- Parameters:
_final- a _final object.
-
-