|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.model.AbstractModelObject
hudson.model.TaskAction
hudson.maven.reporters.MavenAbstractArtifactRecord<MavenBuild>
hudson.maven.reporters.MavenArtifactRecord
public class MavenArtifactRecord
Action that remembers artifacts that are built.
Defines the methods and UIs to do (delayed) deployment and installation.
MavenArtifactArchiver| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class hudson.maven.reporters.MavenAbstractArtifactRecord |
|---|
MavenAbstractArtifactRecord.Record |
| Field Summary | |
|---|---|
List<MavenArtifact> |
attachedArtifacts
Attached artifacts. |
MavenArtifact |
mainArtifact
The main artifact (like jar or war, but could be anything.) If this is a POM module, the main artifact contains the same value as pomArtifact. |
MavenBuild |
parent
The build to which this record belongs. |
MavenArtifact |
pomArtifact
POM artifact. |
| Fields inherited from class hudson.maven.reporters.MavenAbstractArtifactRecord |
|---|
debug, records, REDEPLOY |
| Fields inherited from class hudson.model.TaskAction |
|---|
log, workerThread |
| Constructor Summary | |
|---|---|
MavenArtifactRecord(MavenBuild parent,
MavenArtifact pomArtifact,
MavenArtifact mainArtifact,
List<MavenArtifact> attachedArtifacts)
|
|
| Method Summary | |
|---|---|
MavenAggregatedReport |
createAggregatedAction(MavenModuleSetBuild build,
Map<MavenModule,List<MavenBuild>> moduleBuilds)
Creates Action to be contributed to MavenModuleSetBuild. |
void |
deploy(hudson.maven.MavenEmbedder embedder,
org.apache.maven.artifact.repository.ArtifactRepository deploymentRepository,
TaskListener listener)
Deploys the artifacts to the specified ArtifactRepository. |
MavenBuild |
getBuild()
Gets the parent build object to which this record is registered. |
void |
install(hudson.maven.MavenEmbedder embedder)
Installs the artifact to the local Maven repository. |
boolean |
isPOM()
|
void |
recordFingerprints()
|
| Methods inherited from class hudson.maven.reporters.MavenAbstractArtifactRecord |
|---|
doRedeploy, getACL, getDisplayName, getDynamic, getHistoryWidget, getIconFileName, getPermission, getUrlName, hasBadge |
| Methods inherited from class hudson.model.TaskAction |
|---|
doClearError, doProgressiveHtml, doProgressiveLog, getLog, getSearchUrl, getWorkerThread, obtainLog |
| Methods inherited from class hudson.model.AbstractModelObject |
|---|
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface hudson.model.Action |
|---|
getDisplayName, getIconFileName, getUrlName |
| Field Detail |
|---|
public final MavenBuild parent
public final MavenArtifact pomArtifact
public final MavenArtifact mainArtifact
pomArtifact.
public final List<MavenArtifact> attachedArtifacts
| Constructor Detail |
|---|
public MavenArtifactRecord(MavenBuild parent,
MavenArtifact pomArtifact,
MavenArtifact mainArtifact,
List<MavenArtifact> attachedArtifacts)
| Method Detail |
|---|
public MavenBuild getBuild()
MavenAbstractArtifactRecord
getBuild in class MavenAbstractArtifactRecord<MavenBuild>public boolean isPOM()
public MavenAggregatedReport createAggregatedAction(MavenModuleSetBuild build,
Map<MavenModule,List<MavenBuild>> moduleBuilds)
AggregatableActionAction to be contributed to MavenModuleSetBuild.
createAggregatedAction in interface AggregatableActionbuild - MavenModuleSetBuild for which the aggregated report is
created.moduleBuilds - The result of MavenModuleSetBuild.getModuleBuilds() provided
for convenience and efficiency.
public void deploy(hudson.maven.MavenEmbedder embedder,
org.apache.maven.artifact.repository.ArtifactRepository deploymentRepository,
TaskListener listener)
throws hudson.maven.MavenEmbedderException,
IOException,
org.codehaus.plexus.component.repository.exception.ComponentLookupException,
org.apache.maven.artifact.deployer.ArtifactDeploymentException
MavenAbstractArtifactRecordArtifactRepository.
deploy in class MavenAbstractArtifactRecord<MavenBuild>embedder - This component hosts all the Maven components we need to do the work.deploymentRepository - The remote repository to deploy to.listener - The status and error goes to this listener.
hudson.maven.MavenEmbedderException
IOException
org.codehaus.plexus.component.repository.exception.ComponentLookupException
org.apache.maven.artifact.deployer.ArtifactDeploymentException
public void install(hudson.maven.MavenEmbedder embedder)
throws hudson.maven.MavenEmbedderException,
IOException,
org.codehaus.plexus.component.repository.exception.ComponentLookupException,
org.apache.maven.artifact.installer.ArtifactInstallationException
hudson.maven.MavenEmbedderException
IOException
org.codehaus.plexus.component.repository.exception.ComponentLookupException
org.apache.maven.artifact.installer.ArtifactInstallationException
public void recordFingerprints()
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||