Class Build
java.lang.Object
org.apache.maven.buildcache.xml.build.Build
- All Implemented Interfaces:
Serializable
Class Build.
- Version:
- $Revision$ $Date$
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttachedArtifact(Artifact artifact) Method addAttachedArtifact.voidaddExecution(CompletedExecution completedExecution) Method addExecution.voidMethod addGoal.Get the artifact field.Method getAttachedArtifacts.Get the buildServer field.Get the buildTime field.Get the cacheImplementationVersion field.Method getExecutions.getGoals()Method getGoals.Get the hashFunction field.Get the modelEncoding field.Get the projectsInputInfo field.getScm()Get the scm field.is_final()Get the _final field.voidremoveAttachedArtifact(Artifact artifact) Method removeAttachedArtifact.voidremoveExecution(CompletedExecution completedExecution) Method removeExecution.voidremoveGoal(String string) Method removeGoal.voidSet 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.voidSet the goals field.voidsetHashFunction(String hashFunction) Set the hashFunction field.voidsetModelEncoding(String modelEncoding) Set the modelEncoding field.voidsetProjectsInputInfo(ProjectsInputInfo projectsInputInfo) Set the projectsInputInfo field.voidSet the scm field.
-
Constructor Details
-
Build
public Build()
-
-
Method Details
-
addAttachedArtifact
Method addAttachedArtifact.- Parameters:
artifact- a artifact object.
-
addExecution
Method addExecution.- Parameters:
completedExecution- a completedExecution object.
-
addGoal
Method addGoal.- Parameters:
string- a string object.
-
getArtifact
Get the artifact field.- Returns:
- Artifact
-
getAttachedArtifacts
Method getAttachedArtifacts.- Returns:
- List
-
getBuildServer
Get the buildServer field.- Returns:
- String
-
getBuildTime
Get the buildTime field.- Returns:
- Date
-
getCacheImplementationVersion
Get the cacheImplementationVersion field.- Returns:
- String
-
getExecutions
Method getExecutions.- Returns:
- List
-
getGoals
Method getGoals.- Returns:
- List
-
getHashFunction
Get the hashFunction field.- Returns:
- String
-
getModelEncoding
Get the modelEncoding field.- Returns:
- String
-
getProjectsInputInfo
Get the projectsInputInfo field.- Returns:
- ProjectsInputInfo
-
getScm
Get the scm field.- Returns:
- Scm
-
is_final
Get the _final field.- Returns:
- Boolean
-
removeAttachedArtifact
Method removeAttachedArtifact.- Parameters:
artifact- a artifact object.
-
removeExecution
Method removeExecution.- Parameters:
completedExecution- a completedExecution object.
-
removeGoal
Method removeGoal.- Parameters:
string- a string object.
-
setArtifact
Set the artifact field.- Parameters:
artifact- a artifact object.
-
setAttachedArtifacts
Set the attachedArtifacts field.- Parameters:
attachedArtifacts- a attachedArtifacts object.
-
setBuildServer
Set the buildServer field.- Parameters:
buildServer- a buildServer object.
-
setBuildTime
Set the buildTime field.- Parameters:
buildTime- a buildTime object.
-
setCacheImplementationVersion
Set the cacheImplementationVersion field.- Parameters:
cacheImplementationVersion- a cacheImplementationVersion object.
-
setExecutions
Set the executions field.- Parameters:
executions- a executions object.
-
setGoals
Set the goals field.- Parameters:
goals- a goals object.
-
setHashFunction
Set the hashFunction field.- Parameters:
hashFunction- a hashFunction object.
-
setModelEncoding
Set the modelEncoding field.- Parameters:
modelEncoding- a modelEncoding object.
-
setProjectsInputInfo
Set the projectsInputInfo field.- Parameters:
projectsInputInfo- a projectsInputInfo object.
-
setScm
Set the scm field.- Parameters:
scm- a scm object.
-
set_final
Set the _final field.- Parameters:
_final- a _final object.
-