de.smartics.ci.config.test
Class MavenConfigBuilder

Package class diagram package MavenConfigBuilder
java.lang.Object
  extended by de.smartics.ci.config.test.MavenConfigBuilder

public final class MavenConfigBuilder
     
     
extends Object

Builder for instances of MavenConfig.


Method Summary
static MavenConfigBuilder a()
          Creates an instance of the builder.
static MavenConfigBuilder aMinimal()
          Creates a valid instance of the builder.
static MavenConfigBuilder aNew()
          Creates an empty instance of the builder.
 MavenConfig build()
          Creates an instance of MavenConfig.
 MavenConfigBuilder withPom(MavenPom pom)
          The information provided by the Maven project's pom.xml.
 MavenConfigBuilder withSettings(MavenSettings settings)
          Sets the information provided by the settings.xml.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

withSettings

public MavenConfigBuilder withSettings(MavenSettings settings)
Sets the information provided by the settings.xml.

Parameters:
settings - the information provided by the settings.xml.
Returns:
a reference to the builder instance.

withPom

public MavenConfigBuilder withPom(MavenPom pom)
The information provided by the Maven project's pom.xml.

Parameters:
pom - the information provided by the Maven project's pom.xml.
Returns:
a reference to the builder instance.

aNew

public static MavenConfigBuilder aNew()
Creates an empty instance of the builder.

Returns:
the created instance.

aMinimal

public static MavenConfigBuilder aMinimal()
Creates a valid instance of the builder.

Returns:
the created instance.

a

public static MavenConfigBuilder a()
Creates an instance of the builder.

Returns:
the created instance.

build

public MavenConfig build()
Creates an instance of MavenConfig.

Returns:
the new instance.


Copyright © 2012 Kronseder & Reiner GmbH - smartics. All Rights Reserved.