Package com.priint.pubserver.appserver
Class GlassfishDomain.Application
- java.lang.Object
-
- com.priint.pubserver.appserver.GlassfishDomain.Application
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- GlassfishDomain
public static class GlassfishDomain.Application extends java.lang.Object implements java.io.SerializableThe type Application.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected intdeploymentOrderThe Deployment order.protected java.lang.StringlocationThe Location.protected java.lang.StringnameThe Name.
-
Constructor Summary
Constructors Constructor Description Application()Instantiates a new Application.Application(java.lang.String name)Instantiates a new Application.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetDeploymentOrder()Gets deployment order.java.util.List<GlassfishDomain.Engine>getEngines()Gets engines.java.lang.StringgetLocation()Gets location.java.util.List<GlassfishDomain.Module>getModules()Gets modules.java.lang.StringgetName()Gets name.java.util.List<GlassfishDomain.Property>getProperties()Gets properties.<T> java.util.List<T>getProperties(java.lang.Class<T> clazz)Gets properties.<T> TgetProperty(java.lang.Class<T> clazz, java.lang.String name)Gets property.voidsetDeploymentOrder(int deploymentOrder)Sets deployment order.voidsetLocation(java.lang.String location)Sets location.voidsetName(java.lang.String name)Sets name.
-
-
-
Method Detail
-
getDeploymentOrder
public int getDeploymentOrder()
Gets deployment order.- Returns:
- the deployment order
-
getEngines
public java.util.List<GlassfishDomain.Engine> getEngines()
Gets engines.- Returns:
- the engines
-
getLocation
public java.lang.String getLocation()
Gets location.- Returns:
- the location
-
getModules
public java.util.List<GlassfishDomain.Module> getModules()
Gets modules.- Returns:
- the modules
-
getName
public java.lang.String getName()
Gets name.- Returns:
- the name
-
getProperties
public java.util.List<GlassfishDomain.Property> getProperties()
Gets properties.- Returns:
- the properties
-
getProperties
public <T> java.util.List<T> getProperties(java.lang.Class<T> clazz)
Gets properties.- Type Parameters:
T- the type parameter- Parameters:
clazz- the clazz- Returns:
- the properties
-
getProperty
public <T> T getProperty(java.lang.Class<T> clazz, java.lang.String name)Gets property.- Type Parameters:
T- the type parameter- Parameters:
clazz- the clazzname- the name- Returns:
- the property
-
setDeploymentOrder
public void setDeploymentOrder(int deploymentOrder)
Sets deployment order.- Parameters:
deploymentOrder- the deployment order
-
setLocation
public void setLocation(java.lang.String location)
Sets location.- Parameters:
location- the location
-
setName
public void setName(java.lang.String name)
Sets name.- Parameters:
name- the name
-
-