net.arangamani.jenkins.gempublisher
Class GemPublisher

java.lang.Object
  extended by hudson.tasks.BuildStepCompatibilityLayer
      extended by hudson.tasks.Publisher
          extended by hudson.tasks.Recorder
              extended by net.arangamani.jenkins.gempublisher.GemPublisher
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep

public final class GemPublisher
extends hudson.tasks.Recorder
implements hudson.model.Describable<hudson.tasks.Publisher>

Author:
Kannan Manickam

Nested Class Summary
static class GemPublisher.GemDescriptor
           
 
Nested classes/interfaces inherited from class hudson.tasks.Publisher
hudson.tasks.Publisher.DescriptorExtensionListImpl
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
hudson.tasks.BuildStep.PublisherList
 
Field Summary
 RubygemsApi api
           
static GemPublisher.GemDescriptor DESCRIPTOR
           
 String gemName
           
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
GemPublisher(String gemName)
           
 
Method Summary
 GemPublisher.GemDescriptor getDescriptor()
           
 String getGemName()
           
 hudson.tasks.BuildStepMonitor getRequiredMonitorService()
           
 boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, 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
 

Field Detail

gemName

public final String gemName

DESCRIPTOR

@Extension
public static final GemPublisher.GemDescriptor DESCRIPTOR

api

public RubygemsApi api
Constructor Detail

GemPublisher

@DataBoundConstructor
public GemPublisher(String gemName)
Parameters:
gemName -
Method Detail

perform

public boolean perform(hudson.model.AbstractBuild<?,?> build,
                       hudson.Launcher launcher,
                       hudson.model.BuildListener listener)
                throws InterruptedException,
                       IOException
Specified by:
perform in interface hudson.tasks.BuildStep
Overrides:
perform in class hudson.tasks.BuildStepCompatibilityLayer
Parameters:
build -
launcher -
listener -
Returns:
Throws:
InterruptedException
IOException

getRequiredMonitorService

public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
Specified by:
getRequiredMonitorService in interface hudson.tasks.BuildStep
Returns:

getDescriptor

public GemPublisher.GemDescriptor getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>
Overrides:
getDescriptor in class hudson.tasks.Recorder
Returns:

getGemName

public String getGemName()
Returns:


Copyright © 2004-2013. All Rights Reserved.