Interface Application
-
- All Superinterfaces:
org.glassfish.api.admin.config.ApplicationName,org.jvnet.hk2.config.ConfigBeanProxy,jakarta.validation.Payload,org.jvnet.hk2.config.types.PropertyBag
public interface Application extends org.glassfish.api.admin.config.ApplicationName, org.jvnet.hk2.config.types.PropertyBag
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classApplication.Duck
-
Field Summary
Fields Modifier and Type Field Description static StringALT_DD_LOCATION_PROP_NAMEstatic StringAPP_LOCATION_PROP_NAMEstatic StringARCHIVE_TYPE_PROP_NAMEstatic StringDEPLOYMENT_PLAN_LOCATION_PROP_NAMEstatic StringRUNTIME_ALT_DD_LOCATION_PROP_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Fileapplication()StringarchiveType()booleancontainsSnifferType(String snifferType)FiledeploymentPlan()AppTenantsgetAppTenants()StringgetAsyncReplication()Gets the value of the asyncReplication property.StringgetAvailabilityEnabled()Gets the value of the availabilityEnabled property.StringgetContextRoot()Gets the value of the contextRoot property.StringgetDeploymentOrder()Gets the value of the deploymentOrder property.org.glassfish.api.deployment.DeployCommandParametersgetDeployParameters(ApplicationRef appRef)PropertiesgetDeployProperties()StringgetDescription()Gets the value of the description property.StringgetDirectoryDeployed()Gets the value of the directoryDeployed property.StringgetEnabled()Gets the value of the enabled property.List<Engine>getEngine()Gets the value of the engine property.<T extends ApplicationExtension>
TgetExtensionByType(Class<T> type)List<ApplicationExtension>getExtensions()<T extends ApplicationExtension>
List<T>getExtensionsByType(Class<T> type)StringgetLibraries()Gets the value of the libraries property.StringgetLocation()Gets the value of the location property.List<Module>getModule()ModulegetModule(String moduleName)Map<String,Properties>getModulePropertiesMap()@NotNull StringgetObjectType()Gets the value of the objectType property.List<org.jvnet.hk2.config.types.Property>getProperty()Properties as perPropertyBagResourcesgetResources()booleanisLifecycleModule()booleanisStandaloneModule()voidrecordFileLocations(File app, File plan)voidsetAppTenants(AppTenants appTenants)voidsetAsyncReplication(String value)Sets the value of the asyncReplication property.voidsetAvailabilityEnabled(String value)Sets the value of the availabilityEnabled property.voidsetContextRoot(String value)Sets the value of the contextRoot property.voidsetDeploymentOrder(String value)Sets the value of the deploymentOrder property.voidsetDescription(String value)Sets the value of the description property.voidsetDirectoryDeployed(String value)Sets the value of the directoryDeployed property.voidsetEnabled(String value)Sets the value of the enabled property.voidsetLibraries(String value)Sets the value of the libraries property.voidsetLocation(String value)Sets the value of the location property.voidsetObjectType(String value)Sets the value of the objectType property.voidsetResources(Resources resources)
-
-
-
Field Detail
-
APP_LOCATION_PROP_NAME
static final String APP_LOCATION_PROP_NAME
- See Also:
- Constant Field Values
-
DEPLOYMENT_PLAN_LOCATION_PROP_NAME
static final String DEPLOYMENT_PLAN_LOCATION_PROP_NAME
- See Also:
- Constant Field Values
-
ARCHIVE_TYPE_PROP_NAME
static final String ARCHIVE_TYPE_PROP_NAME
- See Also:
- Constant Field Values
-
ALT_DD_LOCATION_PROP_NAME
static final String ALT_DD_LOCATION_PROP_NAME
- See Also:
- Constant Field Values
-
RUNTIME_ALT_DD_LOCATION_PROP_NAME
static final String RUNTIME_ALT_DD_LOCATION_PROP_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getContextRoot
String getContextRoot()
Gets the value of the contextRoot property.- Returns:
- possible object is
String
-
setContextRoot
void setContextRoot(String value) throws PropertyVetoException
Sets the value of the contextRoot property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getLocation
String getLocation()
Gets the value of the location property.- Returns:
- possible object is
String
-
setLocation
void setLocation(String value) throws PropertyVetoException
Sets the value of the location property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getObjectType
@NotNull @NotNull String getObjectType()
Gets the value of the objectType property.- Returns:
- possible object is
String
-
setObjectType
void setObjectType(String value) throws PropertyVetoException
Sets the value of the objectType property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getEnabled
String getEnabled()
Gets the value of the enabled property.- Returns:
- possible object is
String
-
setEnabled
void setEnabled(String value) throws PropertyVetoException
Sets the value of the enabled property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getLibraries
String getLibraries()
Gets the value of the libraries property.- Returns:
- possible object is
String
-
setLibraries
void setLibraries(String value) throws PropertyVetoException
Sets the value of the libraries property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getAvailabilityEnabled
String getAvailabilityEnabled()
Gets the value of the availabilityEnabled property.- Returns:
- possible object is
String
-
setAvailabilityEnabled
void setAvailabilityEnabled(String value) throws PropertyVetoException
Sets the value of the availabilityEnabled property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getAsyncReplication
String getAsyncReplication()
Gets the value of the asyncReplication property.- Returns:
- possible object is
String
-
setAsyncReplication
void setAsyncReplication(String value) throws PropertyVetoException
Sets the value of the asyncReplication property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getDirectoryDeployed
String getDirectoryDeployed()
Gets the value of the directoryDeployed property.- Returns:
- possible object is
String
-
setDirectoryDeployed
void setDirectoryDeployed(String value) throws PropertyVetoException
Sets the value of the directoryDeployed property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getDescription
String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
void setDescription(String value) throws PropertyVetoException
Sets the value of the description property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getDeploymentOrder
String getDeploymentOrder()
Gets the value of the deploymentOrder property.- Returns:
- possible object is
String
-
setDeploymentOrder
void setDeploymentOrder(String value) throws PropertyVetoException
Sets the value of the deploymentOrder property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getEngine
List<Engine> getEngine()
Gets the value of the engine property. This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not asetmethod for the engine property. For example, to add a new item, do as follows:getEngine().add(newItem);
Objects of the following type(s) are allowed in the listEngine
-
getResources
Resources getResources()
-
setResources
void setResources(Resources resources) throws PropertyVetoException
- Throws:
PropertyVetoException
-
getAppTenants
AppTenants getAppTenants()
-
setAppTenants
void setAppTenants(AppTenants appTenants)
-
getExtensions
List<ApplicationExtension> getExtensions()
-
getExtensionByType
@DuckTyped <T extends ApplicationExtension> T getExtensionByType(Class<T> type)
-
getExtensionsByType
@DuckTyped <T extends ApplicationExtension> List<T> getExtensionsByType(Class<T> type)
-
getDeployProperties
@DuckTyped Properties getDeployProperties()
-
getDeployParameters
@DuckTyped org.glassfish.api.deployment.DeployCommandParameters getDeployParameters(ApplicationRef appRef)
-
getModulePropertiesMap
@DuckTyped Map<String,Properties> getModulePropertiesMap()
-
isStandaloneModule
@DuckTyped boolean isStandaloneModule()
-
containsSnifferType
@DuckTyped boolean containsSnifferType(String snifferType)
-
isLifecycleModule
@DuckTyped boolean isLifecycleModule()
-
application
@DuckTyped File application()
-
deploymentPlan
@DuckTyped File deploymentPlan()
-
archiveType
@DuckTyped String archiveType()
-
getProperty
@ToDo(priority=IMPORTANT, details="Provide PropertyDesc for legal props") @PropertiesDesc(props={}) List<org.jvnet.hk2.config.types.Property> getProperty()Properties as perPropertyBag- Specified by:
getPropertyin interfaceorg.jvnet.hk2.config.types.PropertyBag
-
-