org.apache.maven.continuum.project.builder
Class AbstractContinuumProjectBuilder

Package class diagram package AbstractContinuumProjectBuilder
java.lang.Object
  extended by org.codehaus.plexus.logging.AbstractLogEnabled
      extended by org.apache.maven.continuum.project.builder.AbstractContinuumProjectBuilder
All Implemented Interfaces:
ContinuumProjectBuilder, org.codehaus.plexus.logging.LogEnabled, org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable
Direct Known Subclasses:
MavenOneContinuumProjectBuilder, MavenTwoContinuumProjectBuilder

public abstract class AbstractContinuumProjectBuilder
extends org.codehaus.plexus.logging.AbstractLogEnabled
implements ContinuumProjectBuilder, org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable

Version:
$Id: AbstractContinuumProjectBuilder.java 722631 2008-12-02 22:07:39Z olamy $
Author:
Trygve Laugstøl

Field Summary
 
Fields inherited from interface org.apache.maven.continuum.project.builder.ContinuumProjectBuilder
ROLE
 
Constructor Summary
AbstractContinuumProjectBuilder()
           
 
Method Summary
protected  java.io.File createMetadataFile(ContinuumProjectBuildingResult result, java.net.URL metadata, java.lang.String username, java.lang.String password)
          Create metadata file and handle exceptions, adding the errors to the result object.
protected  java.io.File createMetadataFile(java.net.URL metadata, java.lang.String username, java.lang.String password, ContinuumProjectBuildingResult result)
           
 void initialize()
           
 
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.maven.continuum.project.builder.ContinuumProjectBuilder
buildProjectsFromMetadata, buildProjectsFromMetadata, buildProjectsFromMetadata, getDefaultBuildDefinitionTemplate
 

Constructor Detail

AbstractContinuumProjectBuilder

public AbstractContinuumProjectBuilder()
Method Detail

initialize

public void initialize()
                throws org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
Specified by:
initialize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable
Throws:
org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException

createMetadataFile

protected java.io.File createMetadataFile(java.net.URL metadata,
                                          java.lang.String username,
                                          java.lang.String password,
                                          ContinuumProjectBuildingResult result)
                                   throws java.io.IOException,
                                          java.net.URISyntaxException,
                                          org.apache.http.HttpException
Throws:
java.io.IOException
java.net.URISyntaxException
org.apache.http.HttpException

createMetadataFile

protected java.io.File createMetadataFile(ContinuumProjectBuildingResult result,
                                          java.net.URL metadata,
                                          java.lang.String username,
                                          java.lang.String password)
Create metadata file and handle exceptions, adding the errors to the result object.

Parameters:
result - holder with result and errors.
metadata -
username -
password -
Returns:


Copyright © 2003-2008 The Apache Software Foundation. All Rights Reserved.