public class JahiaWebAppsPackage extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DIR
directory
|
static int |
EAR
ear package
|
static int |
WAR
war package
|
| Constructor and Description |
|---|
JahiaWebAppsPackage(String contextRoot)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addWebAppDef(JahiaWebAppDef webAppDef)
Add a WebApps Definition in the Web Apps list
|
void |
addWebAppDef(List<JahiaWebAppDef> vec)
Set the WebApps List
|
String |
getContextRoot()
Returns the Context Root of this package
|
String |
getFileName()
get the source filename
|
String |
getFilePath()
get the file path
|
List<JahiaWebAppDef> |
getWebApps()
Get the WebApps List
|
boolean |
hasEJB()
uses EJB or not ?
|
boolean |
isDirectory()
if the source is a directory
|
boolean |
isEarFile()
if the source is an ear file
|
boolean |
isWarFile()
if the source is a war file
|
void |
setFileName(String name)
set the source filename
|
void |
setFilePath(String path)
set the file path
|
void |
setHasEJB(boolean val)
set has EJB or not
|
void |
setType(int m_Type) |
public static final int WAR
public static final int EAR
public static final int DIR
public JahiaWebAppsPackage(String contextRoot)
(String) - contextRoot , the context root of the web appspublic List<JahiaWebAppDef> getWebApps()
public void addWebAppDef(List<JahiaWebAppDef> vec)
(List) - the List of webapps listpublic void addWebAppDef(JahiaWebAppDef webAppDef)
(JahiaWebAppDef) - webAppDefpublic String getContextRoot()
public String getFileName()
public void setFileName(String name)
public String getFilePath()
public void setFilePath(String path)
public boolean isWarFile()
public boolean isEarFile()
public boolean isDirectory()
public void setHasEJB(boolean val)
public boolean hasEJB()
public void setType(int m_Type)
Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.