hudson.plugins.easyant
Class EasyAnt

java.lang.Object
  extended by hudson.tasks.BuildStepCompatibilityLayer
      extended by hudson.tasks.Builder
          extended by hudson.plugins.easyant.EasyAnt
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Builder>, hudson.tasks.BuildStep

public class EasyAnt
extends hudson.tasks.Builder

A builder for EasyAnt scripts

Author:
Jean Louis Boudart

Nested Class Summary
static class EasyAnt.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
hudson.tasks.BuildStep.PublisherList
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
static EasyAnt.DescriptorImpl DESCRIPTOR
           
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
EasyAnt(java.lang.String name, java.lang.String targets, java.lang.String buildFile)
           
 
Method Summary
 java.lang.String getBuildFile()
           
 hudson.model.Descriptor<hudson.tasks.Builder> getDescriptor()
           
 EasyAntInstallation getEasyAnt()
           
 java.lang.String getName()
          We'll use this from the config.jelly.
 java.lang.String getTargets()
           
 boolean perform(hudson.model.Build<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 
Methods inherited from class hudson.tasks.Builder
all, getProjectAction, prebuild
 
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, 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, perform, prebuild
 

Field Detail

DESCRIPTOR

public static final EasyAnt.DescriptorImpl DESCRIPTOR
Constructor Detail

EasyAnt

@DataBoundConstructor
public EasyAnt(java.lang.String name,
                                    java.lang.String targets,
                                    java.lang.String buildFile)
Method Detail

getName

public java.lang.String getName()
We'll use this from the config.jelly.


getTargets

public java.lang.String getTargets()

getBuildFile

public java.lang.String getBuildFile()

getEasyAnt

public EasyAntInstallation getEasyAnt()

perform

public boolean perform(hudson.model.Build<?,?> build,
                       hudson.Launcher launcher,
                       hudson.model.BuildListener listener)
                throws java.lang.InterruptedException,
                       java.io.IOException
Overrides:
perform in class hudson.tasks.BuildStepCompatibilityLayer
Throws:
java.lang.InterruptedException
java.io.IOException

getDescriptor

public hudson.model.Descriptor<hudson.tasks.Builder> getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<hudson.tasks.Builder>
Overrides:
getDescriptor in class hudson.tasks.Builder


Copyright © 2009. All Rights Reserved.