Package org.apache.maven.buildcache.xml
Class Build
- java.lang.Object
-
- org.apache.maven.buildcache.xml.Build
-
public class Build extends Object
Build
-
-
Constructor Summary
Constructors Constructor Description Build(List<String> goals, Artifact artifact, List<Artifact> attachedArtifacts, ProjectsInputInfo projectsInputInfo, List<CompletedExecution> completedExecutions, String hashAlgorithm)
Build(Build dto, CacheSource source)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static List<Artifact>
createAttachedArtifacts(List<org.apache.maven.artifact.Artifact> artifacts, HashAlgorithm algorithm)
DigestItem
findArtifact(org.apache.maven.model.Dependency dependency)
CompletedExecution
findMojoExecutionInfo(org.apache.maven.plugin.MojoExecution mojoExecution)
Artifact
getArtifact()
List<Artifact>
getAttachedArtifacts()
String
getCacheImplementationVersion()
Build
getDto()
String
getHighestCompletedGoal()
List<org.apache.maven.plugin.MojoExecution>
getMissingExecutions(List<org.apache.maven.plugin.MojoExecution> mojos)
CacheSource
getSource()
String
toString()
-
-
-
Constructor Detail
-
Build
public Build(List<String> goals, Artifact artifact, List<Artifact> attachedArtifacts, ProjectsInputInfo projectsInputInfo, List<CompletedExecution> completedExecutions, String hashAlgorithm)
-
Build
public Build(Build dto, CacheSource source)
-
-
Method Detail
-
getSource
public CacheSource getSource()
-
createAttachedArtifacts
public static List<Artifact> createAttachedArtifacts(List<org.apache.maven.artifact.Artifact> artifacts, HashAlgorithm algorithm) throws IOException
- Throws:
IOException
-
getMissingExecutions
public List<org.apache.maven.plugin.MojoExecution> getMissingExecutions(List<org.apache.maven.plugin.MojoExecution> mojos)
-
findMojoExecutionInfo
public CompletedExecution findMojoExecutionInfo(org.apache.maven.plugin.MojoExecution mojoExecution)
-
getCacheImplementationVersion
public String getCacheImplementationVersion()
-
getArtifact
public Artifact getArtifact()
-
getDto
public Build getDto()
-
getHighestCompletedGoal
public String getHighestCompletedGoal()
-
findArtifact
public DigestItem findArtifact(org.apache.maven.model.Dependency dependency)
-
-