hudson.ivy.builder
Class AntIvyBuilderType

java.lang.Object
  extended by hudson.ivy.builder.IvyBuilderType
      extended by hudson.ivy.builder.AntIvyBuilderType
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<IvyBuilderType>

public class AntIvyBuilderType
extends IvyBuilderType


Nested Class Summary
static class AntIvyBuilderType.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
AntIvyBuilderType(String antName, String buildFile, String targets, String antProperties, String antOpts)
           
 
Method Summary
 String getAntName()
           
 String getAntOpts()
           
 String getAntProperties()
           
 hudson.tasks.Builder getBuilder(Properties additionalProperties, String overrideTargets, List<hudson.model.Environment> environments)
           
 String getBuildFile()
           
protected  String getCalculatedAntOpts(List<hudson.model.Environment> buildEnvironments)
          Possibly null, whitespace-separated (including TAB, NL, etc) VM options to be used to launch Ant process.
protected  String getCalculatedTargets(String targets, List<hudson.model.Environment> buildEnvironments)
           
 Map<String,String> getEnvironment()
           
 String getTargets()
           
 
Methods inherited from class hudson.ivy.builder.IvyBuilderType
getDescriptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AntIvyBuilderType

@DataBoundConstructor
public AntIvyBuilderType(String antName,
                                              String buildFile,
                                              String targets,
                                              String antProperties,
                                              String antOpts)
Method Detail

getTargets

public String getTargets()

getCalculatedTargets

protected String getCalculatedTargets(String targets,
                                      List<hudson.model.Environment> buildEnvironments)

getAntName

public String getAntName()

getAntOpts

public String getAntOpts()

getCalculatedAntOpts

protected String getCalculatedAntOpts(List<hudson.model.Environment> buildEnvironments)
Possibly null, whitespace-separated (including TAB, NL, etc) VM options to be used to launch Ant process.

If antOpts is null or empty, we'll return the globally-defined ANT_OPTS. Also prepend any build-specific ANT_OPTS.

Parameters:
environment -

getBuildFile

public String getBuildFile()

getAntProperties

public String getAntProperties()

getEnvironment

public Map<String,String> getEnvironment()
Specified by:
getEnvironment in class IvyBuilderType

getBuilder

public hudson.tasks.Builder getBuilder(Properties additionalProperties,
                                       String overrideTargets,
                                       List<hudson.model.Environment> environments)
Specified by:
getBuilder in class IvyBuilderType


Copyright © 2004-2012 Hudson. All Rights Reserved.