public abstract class MavenAbstractArtifactRecord<T extends hudson.model.AbstractBuild<?,?>>
extends hudson.model.TaskAction
implements hudson.model.BuildBadgeAction
There are two types — one for the module, the other for the whole project. The semantics specific to these cases are defined in subtypes.
| Modifier and Type | Class and Description |
|---|---|
class |
MavenAbstractArtifactRecord.Record |
| Modifier and Type | Field and Description |
|---|---|
static boolean |
debug
Debug probe for HUDSON-1461.
|
CopyOnWriteArrayList<MavenAbstractArtifactRecord.Record> |
records
Records of a deployment.
|
static hudson.security.Permission |
REDEPLOY
Permission for redeploying artifacts.
|
| Constructor and Description |
|---|
MavenAbstractArtifactRecord() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
deploy(hudson.maven.MavenEmbedder embedder,
org.apache.maven.artifact.repository.ArtifactRepository deploymentRepository,
hudson.model.TaskListener listener)
Deploys the artifacts to the specified
ArtifactRepository. |
org.kohsuke.stapler.HttpResponse |
doRedeploy(String id,
String repositoryUrl,
boolean uniqueVersion)
Performs a redeployment.
|
protected hudson.security.ACL |
getACL() |
hudson.model.Api |
getApi() |
abstract T |
getBuild()
Gets the parent build object to which this record is registered.
|
String |
getDisplayName() |
Object |
getDynamic(String token,
org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp) |
hudson.maven.reporters.MavenAbstractArtifactRecord.HistoryWidgetImpl |
getHistoryWidget() |
String |
getIconFileName() |
protected hudson.security.Permission |
getPermission() |
String |
getUrlName() |
boolean |
hasBadge() |
doClearError, doProgressiveHtml, doProgressiveLog, getLog, getSearchUrl, getWorkerThread, obtainLog@Exported public final CopyOnWriteArrayList<MavenAbstractArtifactRecord.Record> records
public static final hudson.security.Permission REDEPLOY
public static boolean debug
public abstract T getBuild()
protected hudson.security.ACL getACL()
getACL in class hudson.model.TaskActionpublic final String getIconFileName()
getIconFileName in interface hudson.model.ActiongetIconFileName in class hudson.model.TaskActionpublic final String getDisplayName()
getDisplayName in interface hudson.model.ActiongetDisplayName in interface hudson.model.ModelObjectpublic final String getUrlName()
getUrlName in interface hudson.model.Actionprotected hudson.security.Permission getPermission()
getPermission in class hudson.model.TaskActionpublic hudson.model.Api getApi()
public boolean hasBadge()
public hudson.maven.reporters.MavenAbstractArtifactRecord.HistoryWidgetImpl getHistoryWidget()
public Object getDynamic(String token, org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
public final org.kohsuke.stapler.HttpResponse doRedeploy(@QueryParameter(value="_.id")
String id,
@QueryParameter(value="_.url")
String repositoryUrl,
@QueryParameter(value="_.uniqueVersion")
boolean uniqueVersion)
throws javax.servlet.ServletException,
IOException
javax.servlet.ServletExceptionIOExceptionpublic abstract void deploy(hudson.maven.MavenEmbedder embedder,
org.apache.maven.artifact.repository.ArtifactRepository deploymentRepository,
hudson.model.TaskListener listener)
throws hudson.maven.MavenEmbedderException,
IOException,
org.codehaus.plexus.component.repository.exception.ComponentLookupException,
org.apache.maven.artifact.deployer.ArtifactDeploymentException
ArtifactRepository.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.MavenEmbedderExceptionIOExceptionorg.codehaus.plexus.component.repository.exception.ComponentLookupExceptionorg.apache.maven.artifact.deployer.ArtifactDeploymentExceptionCopyright © 2016–2017. All rights reserved.