org.apache.geronimo.plugin.packaging
Class PackageBuilderShell

java.lang.Object
  extended byorg.apache.geronimo.plugin.packaging.PackageBuilderShell

public class PackageBuilderShell
extends java.lang.Object

JellyBean that builds a Geronimo Configuration using the local Mavem infrastructure.

Version:
$Rev: 406500 $ $Date: 2006-05-15 04:13:19 +0200 (Mon, 15 May 2006) $

Constructor Summary
PackageBuilderShell()
           
 
Method Summary
 void execute()
           
 java.util.List getArtifacts()
           
 java.lang.String getClassPath()
           
 java.lang.String getConfigurations()
           
 org.apache.maven.jelly.MavenJellyContext getContext()
           
 java.lang.String getDeployerName()
           
 java.lang.String getEndorsedDirs()
           
 java.lang.String getExplicitResolutionLocation()
           
 java.lang.String getExtensionDirs()
           
 java.lang.String getLogLevel()
           
 java.lang.String getMainClass()
           
 java.lang.String getMainGBean()
           
 java.lang.String getMainMethod()
           
 java.io.File getModuleFile()
           
 java.io.File getPackageFile()
           
 java.io.File getPlanFile()
           
 java.util.List getPluginArtifacts()
           
 java.io.File getRepository()
           
 java.io.File getTargetRepository()
           
 void setArtifacts(java.util.List artifacts)
           
 void setClassPath(java.lang.String classPath)
           
 void setConfigurations(java.lang.String configurations)
           
 void setContext(org.apache.maven.jelly.MavenJellyContext context)
           
 void setDeployerName(java.lang.String deployerName)
          Set the name of the GBean that is the Deployer.
 void setEndorsedDirs(java.lang.String endorsedDirs)
           
 void setExplicitResolutionLocation(java.lang.String explicitResolutionLocation)
           
 void setExtensionDirs(java.lang.String extensionDirs)
           
 void setLogLevel(java.lang.String logLevel)
           
 void setMainClass(java.lang.String mainClass)
          Set the name of the class containing the main method for a executable configuration.
 void setMainGBean(java.lang.String mainGBean)
           
 void setMainMethod(java.lang.String mainMethod)
           
 void setModuleFile(java.io.File moduleFile)
          Set the File that is the module being deployed.
 void setPackageFile(java.io.File packageFile)
          Set the File where the Configuration will be stored; normally the artifact being produced.
 void setPlanFile(java.io.File planFile)
          Set the File that is the deployment plan.
 void setPluginArtifacts(java.util.List pluginArtifacts)
           
 void setRepository(java.io.File repository)
          Set the location of the Maven repository; typically ${maven.repo.local}
 void setTargetRepository(java.io.File targetRepository)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PackageBuilderShell

public PackageBuilderShell()
Method Detail

getRepository

public java.io.File getRepository()

setRepository

public void setRepository(java.io.File repository)
Set the location of the Maven repository; typically ${maven.repo.local}

Parameters:
repository - the location of the Maven repository

getTargetRepository

public java.io.File getTargetRepository()

setTargetRepository

public void setTargetRepository(java.io.File targetRepository)

getDeployerName

public java.lang.String getDeployerName()

setDeployerName

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

Parameters:
deployerName - the name of the Deployer GBean

getPlanFile

public java.io.File getPlanFile()

setPlanFile

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

Parameters:
planFile - the deployment plan

getModuleFile

public java.io.File getModuleFile()

setModuleFile

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

Parameters:
moduleFile - the module to deploy

getPackageFile

public java.io.File getPackageFile()

setPackageFile

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

Parameters:
packageFile - the package file to produce

getMainClass

public java.lang.String getMainClass()

setMainClass

public void setMainClass(java.lang.String mainClass)
Set the name of the class containing the main method for a executable configuration.

Parameters:
mainClass -

getMainGBean

public java.lang.String getMainGBean()

setMainGBean

public void setMainGBean(java.lang.String mainGBean)

getMainMethod

public java.lang.String getMainMethod()

setMainMethod

public void setMainMethod(java.lang.String mainMethod)

getConfigurations

public java.lang.String getConfigurations()

setConfigurations

public void setConfigurations(java.lang.String configurations)

getClassPath

public java.lang.String getClassPath()

setClassPath

public void setClassPath(java.lang.String classPath)

getEndorsedDirs

public java.lang.String getEndorsedDirs()

setEndorsedDirs

public void setEndorsedDirs(java.lang.String endorsedDirs)

getExtensionDirs

public java.lang.String getExtensionDirs()

setExtensionDirs

public void setExtensionDirs(java.lang.String extensionDirs)

getArtifacts

public java.util.List getArtifacts()

setArtifacts

public void setArtifacts(java.util.List artifacts)

getPluginArtifacts

public java.util.List getPluginArtifacts()

setPluginArtifacts

public void setPluginArtifacts(java.util.List pluginArtifacts)

getContext

public org.apache.maven.jelly.MavenJellyContext getContext()

setContext

public void setContext(org.apache.maven.jelly.MavenJellyContext context)

getExplicitResolutionLocation

public java.lang.String getExplicitResolutionLocation()

setExplicitResolutionLocation

public void setExplicitResolutionLocation(java.lang.String explicitResolutionLocation)

getLogLevel

public java.lang.String getLogLevel()

setLogLevel

public void setLogLevel(java.lang.String logLevel)

execute

public void execute()
             throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © -2007 . All Rights Reserved.