hudson.plugins.radbuilder
Class RAD

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

public class RAD
extends hudson.tasks.Builder

IBM Rational Application Developer builder, strongly based on the Ant one.

Note that, when this builder runs on Windows, there's actually a competition between Hudson's WORKSPACE environment variable and RAD's one, which is named exactly the same (with lower case letters, but Windows doesn't care). This confusion is dealt with at the beginning and at the end of the execution of the builder

Author:
Romain Seguy (http://openromain.blogspot.com)

Nested Class Summary
static class RAD.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 java.lang.String RAD_WORKSAPCE_METADATA_FOLDER
          Name of the .metadata folder of each RAD workspace.
static java.lang.String RAD_WORKSPACE_ENV_VAR
          Name of the environment variable containing the RAD workspace to be used.
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
RAD(boolean activateProjectWorkspaceVar, java.lang.String buildFile, boolean deleteRadWorkspaceContent, boolean deleteRadWorkspaceMetadata, java.lang.String properties, java.lang.String radInstallationName, java.lang.String radWorkspace, java.lang.String targets)
           
 
Method Summary
 boolean getActivateProjectWorkspaceVar()
           
 java.lang.String getBuildFile()
           
 boolean getDeleteRadWorkspaceContent()
           
 boolean getDeleteRadWorkspaceMetadata()
           
 RAD.DescriptorImpl getDescriptor()
           
 java.lang.String getProperties()
           
 RADInstallation getRadInstallation(hudson.EnvVars env, hudson.model.Node node, hudson.model.BuildListener listener)
          Returns the RADInstallation to use when the build takes place (null if none has been set).
 java.lang.String getRadInstallationName()
           
 java.lang.String getRadWorkspace()
           
 java.lang.String getTargets()
           
 boolean perform(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
 

Field Detail

RAD_WORKSPACE_ENV_VAR

public static final java.lang.String RAD_WORKSPACE_ENV_VAR
Name of the environment variable containing the RAD workspace to be used.

See Also:
Constant Field Values

RAD_WORKSAPCE_METADATA_FOLDER

public static final java.lang.String RAD_WORKSAPCE_METADATA_FOLDER
Name of the .metadata folder of each RAD workspace.

See Also:
Constant Field Values
Constructor Detail

RAD

@DataBoundConstructor
public RAD(boolean activateProjectWorkspaceVar,
                                java.lang.String buildFile,
                                boolean deleteRadWorkspaceContent,
                                boolean deleteRadWorkspaceMetadata,
                                java.lang.String properties,
                                java.lang.String radInstallationName,
                                java.lang.String radWorkspace,
                                java.lang.String targets)
Method Detail

getDescriptor

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

getRadInstallation

public RADInstallation getRadInstallation(hudson.EnvVars env,
                                          hudson.model.Node node,
                                          hudson.model.BuildListener listener)
Returns the RADInstallation to use when the build takes place (null if none has been set).


getActivateProjectWorkspaceVar

public boolean getActivateProjectWorkspaceVar()

getBuildFile

public java.lang.String getBuildFile()

getDeleteRadWorkspaceContent

public boolean getDeleteRadWorkspaceContent()

getDeleteRadWorkspaceMetadata

public boolean getDeleteRadWorkspaceMetadata()

getProperties

public java.lang.String getProperties()

getRadInstallationName

public java.lang.String getRadInstallationName()

getRadWorkspace

public java.lang.String getRadWorkspace()

getTargets

public java.lang.String getTargets()

perform

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


Copyright © 2011. All Rights Reserved.