org.apache.geronimo.plugin.car
Class PackageBuilder

java.lang.Object
  extended by org.apache.geronimo.plugin.car.PackageBuilder

public class PackageBuilder
extends Object

Builds a Geronimo Configuration using the local Maven infrastructure.

Version:
$Rev:385659 $ $Date: 2006-08-12 12:22:18 +0200 (sam., 12 août 2006) $

Constructor Summary
PackageBuilder()
           
 
Method Summary
 void execute()
           
 String getConfigurationStoreClass()
           
 String getDeployerName()
           
 Collection getDeploymentConfig()
           
 String getExplicitResolutionLocation()
           
 File getModuleFile()
           
 File getPackageFile()
           
 File getPlanFile()
           
 File getRepository()
           
 String getRepositoryClass()
           
 String getTargetConfigurationStoreClass()
           
 File getTargetRepository()
           
 String getTargetRepositoryClass()
           
 void setConfigurationStoreClass(String configurationStoreClass)
           
 void setDeployerName(String deployerName)
          Set the name of the GBean that is the Deployer.
 void setDeploymentConfig(Collection deploymentConfigString)
          Set the id of the Configuration to use to perform the packaging.
 void setExplicitResolutionLocation(String explicitResolutionLocation)
           
 void setModuleFile(File moduleFile)
          Set the File that is the module being deployed.
 void setPackageFile(File packageFile)
          Set the File where the Configuration will be stored; normally the artifact being produced.
 void setPlanFile(File planFile)
          Set the File that is the deployment plan.
 void setRepository(File repository)
           
 void setRepositoryClass(String repositoryClass)
           
 void setTargetConfigurationStoreClass(String targetConfigurationStoreClass)
           
 void setTargetRepository(File targetRepository)
           
 void setTargetRepositoryClass(String targetRepositoryClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PackageBuilder

public PackageBuilder()
Method Detail

getRepositoryClass

public String getRepositoryClass()

setRepositoryClass

public void setRepositoryClass(String repositoryClass)

getConfigurationStoreClass

public String getConfigurationStoreClass()

setConfigurationStoreClass

public void setConfigurationStoreClass(String configurationStoreClass)

getRepository

public File getRepository()

setRepository

public void setRepository(File repository)

getTargetRepositoryClass

public String getTargetRepositoryClass()

setTargetRepositoryClass

public void setTargetRepositoryClass(String targetRepositoryClass)

getTargetConfigurationStoreClass

public String getTargetConfigurationStoreClass()

setTargetConfigurationStoreClass

public void setTargetConfigurationStoreClass(String targetConfigurationStoreClass)

getTargetRepository

public File getTargetRepository()

setTargetRepository

public void setTargetRepository(File targetRepository)

getDeploymentConfig

public Collection getDeploymentConfig()

setDeploymentConfig

public void setDeploymentConfig(Collection deploymentConfigString)
Set the id of the Configuration to use to perform the packaging.

Parameters:
deploymentConfigString - comma-separated list of the ids of the Configurations performing the deployment

getDeployerName

public String getDeployerName()

setDeployerName

public void setDeployerName(String deployerName)
Set the name of the GBean that is the Deployer.

Parameters:
deployerName - the name of the Deployer GBean

getPlanFile

public File getPlanFile()

setPlanFile

public void setPlanFile(File planFile)
Set the File that is the deployment plan.

Parameters:
planFile - the deployment plan

getModuleFile

public File getModuleFile()

setModuleFile

public void setModuleFile(File moduleFile)
Set the File that is the module being deployed.

Parameters:
moduleFile - the module to deploy

getPackageFile

public File getPackageFile()

setPackageFile

public void setPackageFile(File packageFile)
Set the File where the Configuration will be stored; normally the artifact being produced.

Parameters:
packageFile - the package file to produce

getExplicitResolutionLocation

public String getExplicitResolutionLocation()

setExplicitResolutionLocation

public void setExplicitResolutionLocation(String explicitResolutionLocation)

execute

public void execute()
             throws Exception
Throws:
Exception


Copyright © 2006 Apache Software Foundation. All Rights Reserved.