org.hudsonci.maven.plugin.artifactrecorder
Class ArtifactArchiver

java.lang.Object
  extended by hudson.tasks.BuildStepCompatibilityLayer
      extended by hudson.tasks.Publisher
          extended by hudson.tasks.Recorder
              extended by org.hudsonci.maven.plugin.artifactrecorder.ArtifactArchiver
All Implemented Interfaces:
ExtensionPoint, Describable<Publisher>, BuildStep

public class ArtifactArchiver
extends Recorder

Archives artifacts collected from a MavenBuilder.

Since:
2.1.0
Author:
Jamie Whitehouse

Nested Class Summary
static class ArtifactArchiver.DescriptorImpl
           
 
Nested classes/interfaces inherited from class hudson.tasks.Publisher
Publisher.DescriptorExtensionListImpl
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
 
Field Summary
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
ArtifactArchiver(boolean includePomArtifacts, boolean deleteOldArchiveArtifacts)
           
 
Method Summary
 ArtifactArchiver.DescriptorImpl getDescriptor()
           
 BuildStepMonitor getRequiredMonitorService()
           
 boolean isDeleteOldArchiveArtifacts()
           
 boolean isIncludePomArtifacts()
           
 boolean perform(AbstractBuild build, Launcher launcher, BuildListener listener)
           
 
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRun, needsToRunAfterFinalized, prebuild
 
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform, prebuild
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, prebuild
 

Constructor Detail

ArtifactArchiver

@DataBoundConstructor
public ArtifactArchiver(boolean includePomArtifacts,
                                             boolean deleteOldArchiveArtifacts)
Method Detail

isIncludePomArtifacts

@JellyAccessible
public boolean isIncludePomArtifacts()

isDeleteOldArchiveArtifacts

@JellyAccessible
public boolean isDeleteOldArchiveArtifacts()

getRequiredMonitorService

public BuildStepMonitor getRequiredMonitorService()

getDescriptor

public ArtifactArchiver.DescriptorImpl getDescriptor()
Specified by:
getDescriptor in interface Describable<Publisher>
Overrides:
getDescriptor in class Recorder

perform

public boolean perform(AbstractBuild build,
                       Launcher launcher,
                       BuildListener listener)
                throws InterruptedException,
                       IOException
Specified by:
perform in interface BuildStep
Overrides:
perform in class BuildStepCompatibilityLayer
Throws:
InterruptedException
IOException


Copyright © 2004-2011 Hudson. All Rights Reserved.