Package org.gradle.api.plugins
Class WarPluginConvention
- java.lang.Object
-
- org.gradle.api.plugins.WarPluginConvention
-
public class WarPluginConvention extends Object
A
Conventionused for the WarPlugin.
-
-
Constructor Summary
Constructors Constructor Description WarPluginConvention(Project project)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjectgetProject()FilegetWebAppDir()Returns the web application directory.StringgetWebAppDirName()The name of the web application directory, relative to the project directory.voidsetWebAppDirName(String webAppDirName)
-
-
-
Constructor Detail
-
WarPluginConvention
public WarPluginConvention(Project project)
-
-
Method Detail
-
getWebAppDir
public File getWebAppDir()
Returns the web application directory.
-
getWebAppDirName
public String getWebAppDirName()
The name of the web application directory, relative to the project directory.
-
setWebAppDirName
public void setWebAppDirName(String webAppDirName)
-
getProject
public final Project getProject()
-
-