public abstract class EarPluginConvention extends Object
Constructor | Description |
---|---|
EarPluginConvention() |
Modifier and Type | Method | Description |
---|---|---|
abstract void |
appDirName(String appDirName) |
Allows changing the application directory.
|
abstract EarPluginConvention |
deploymentDescriptor(Closure configureClosure) |
Configures the deployment descriptor for this EAR archive.
|
abstract EarPluginConvention |
deploymentDescriptor(Action<? super DeploymentDescriptor> configureAction) |
Configures the deployment descriptor for this EAR archive.
|
abstract String |
getAppDirName() |
The name of the application directory, relative to the project directory.
|
abstract DeploymentDescriptor |
getDeploymentDescriptor() |
A custom deployment descriptor configuration.
|
abstract String |
getLibDirName() |
The name of the library directory in the EAR file.
|
abstract void |
libDirName(String libDirName) |
Allows changing the library directory in the EAR file.
|
abstract void |
setAppDirName(String appDirName) |
|
abstract void |
setDeploymentDescriptor(DeploymentDescriptor deploymentDescriptor) |
|
abstract void |
setLibDirName(String libDirName) |
public abstract String getAppDirName()
public abstract void setAppDirName(String appDirName)
public abstract void appDirName(String appDirName)
public abstract String getLibDirName()
public abstract void setLibDirName(String libDirName)
public abstract void libDirName(String libDirName)
public abstract DeploymentDescriptor getDeploymentDescriptor()
public abstract void setDeploymentDescriptor(DeploymentDescriptor deploymentDescriptor)
public abstract EarPluginConvention deploymentDescriptor(Closure configureClosure)
The given closure is executed to configure the deployment descriptor.
The DeploymentDescriptor
is passed to the closure as its delegate.
configureClosure
- The closure.public abstract EarPluginConvention deploymentDescriptor(Action<? super DeploymentDescriptor> configureAction)
The given action is executed to configure the deployment descriptor.
configureAction
- The action.