hudson.plugins.gradle
Class Gradle

java.lang.Object
  extended by hudson.tasks.BuildStepCompatibilityLayer
      extended by hudson.tasks.Builder
          extended by hudson.plugins.gradle.Gradle
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Builder>, hudson.tasks.BuildStep, org.jenkinsci.lib.dryrun.DryRun

public class Gradle
extends hudson.tasks.Builder
implements org.jenkinsci.lib.dryrun.DryRun

Author:
Gregory Boissinot

Nested Class Summary
static class Gradle.DescriptorImpl
           
 
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
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
Gradle(String description, String switches, String tasks, String rootBuildScriptDir, String buildFile, String gradleName, boolean useWrapper, boolean makeExecutable, boolean fromRootBuildScriptDir)
           
 
Method Summary
 String getBuildFile()
           
 String getDescription()
           
 Gradle.DescriptorImpl getDescriptor()
           
 GradleInstallation getGradle()
           
 String getGradleName()
           
 String getRootBuildScriptDir()
           
 String getSwitches()
           
 String getTasks()
           
 boolean isFromRootBuildScriptDir()
           
 boolean isMakeExecutable()
           
 boolean isUseWrapper()
           
 boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 boolean performDryRun(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 
Methods inherited from class hudson.tasks.Builder
all, getRequiredMonitorService, prebuild
 
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, 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

Gradle

@DataBoundConstructor
public Gradle(String description,
                                   String switches,
                                   String tasks,
                                   String rootBuildScriptDir,
                                   String buildFile,
                                   String gradleName,
                                   boolean useWrapper,
                                   boolean makeExecutable,
                                   boolean fromRootBuildScriptDir)
Method Detail

getSwitches

public String getSwitches()

getBuildFile

public String getBuildFile()

getGradleName

public String getGradleName()

getTasks

public String getTasks()

getDescription

public String getDescription()

isUseWrapper

public boolean isUseWrapper()

getRootBuildScriptDir

public String getRootBuildScriptDir()

isMakeExecutable

public boolean isMakeExecutable()

isFromRootBuildScriptDir

public boolean isFromRootBuildScriptDir()

getGradle

public GradleInstallation getGradle()

performDryRun

public boolean performDryRun(hudson.model.AbstractBuild<?,?> build,
                             hudson.Launcher launcher,
                             hudson.model.BuildListener listener)
                      throws InterruptedException,
                             IOException
Specified by:
performDryRun in interface org.jenkinsci.lib.dryrun.DryRun
Throws:
InterruptedException
IOException

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
Throws:
InterruptedException
IOException

getDescriptor

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


Copyright © 2004-2013. All Rights Reserved.