org.gradle
Class DefaultGradleFactory

java.lang.Object
  extended by org.gradle.DefaultGradleFactory
All Implemented Interfaces:
GradleFactory

public class DefaultGradleFactory
extends java.lang.Object
implements GradleFactory


Constructor Summary
DefaultGradleFactory(LoggingConfigurer loggingConfigurer, CommandLine2StartParameterConverter commandLine2StartParameterConverter)
           
 
Method Summary
 StartParameter createStartParameter(java.lang.String[] commandLineArgs)
           
 LoggingConfigurer getLoggingConfigurer()
           
 Gradle newInstance(StartParameter startParameter)
          Creates a new Gradle instance for the given parameters.
 Gradle newInstance(java.lang.String[] commandLineArgs)
           
 void setLoggingConfigurer(LoggingConfigurer loggingConfigurer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultGradleFactory

public DefaultGradleFactory(LoggingConfigurer loggingConfigurer,
                            CommandLine2StartParameterConverter commandLine2StartParameterConverter)
Method Detail

getLoggingConfigurer

public LoggingConfigurer getLoggingConfigurer()

setLoggingConfigurer

public void setLoggingConfigurer(LoggingConfigurer loggingConfigurer)

createStartParameter

public StartParameter createStartParameter(java.lang.String[] commandLineArgs)
Specified by:
createStartParameter in interface GradleFactory

newInstance

public Gradle newInstance(java.lang.String[] commandLineArgs)
Specified by:
newInstance in interface GradleFactory

newInstance

public Gradle newInstance(StartParameter startParameter)
Description copied from interface: GradleFactory
Creates a new Gradle instance for the given parameters.

Specified by:
newInstance in interface GradleFactory
Parameters:
startParameter - The parameters to use for the build.
Returns:
The new instance.