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
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from interface org.glassfish.api.admin.config.ApplicationName
NAME_APP_REGEX -
Method Summary
Modifier and TypeMethodDescriptiondefault Filedefault Stringdefault booleancontainsSnifferType(String snifferType) default FileGets the value of theasyncReplicationproperty.Gets the value of theavailabilityEnabledproperty.Gets the value of thecontextRootproperty.Gets the value of thedeploymentOrderproperty.default org.glassfish.api.deployment.DeployCommandParametersgetDeployParameters(ApplicationRef appRef) default PropertiesGets the value of thedescriptionproperty.Gets the value of thedirectoryDeployedproperty.Gets the value of theenabledproperty.Gets the value of theengineproperty.default <T extends ApplicationExtension>
TgetExtensionByType(Class<T> type) Get an extension of the specified type.default <T extends ApplicationExtension>
List<T> getExtensionsByType(Class<T> type) Get all extensions of the specified type.Gets the value of thelibrariesproperty.Gets the value of thelocationproperty.default Moduledefault Map<String, Properties> @NotNull StringGets the value of theobjectTypeproperty.List<org.jvnet.hk2.config.types.Property> Properties as perPropertyBagdefault booleandefault booleanvoidsetAppTenants(AppTenants appTenants) voidsetAsyncReplication(String asyncReplication) Sets the value of theasyncReplicationproperty.voidsetAvailabilityEnabled(String availabilityEnabled) Sets the value of theavailabilityEnabledproperty.voidsetContextRoot(String contextRoot) Sets the value of thecontextRootproperty.voidsetDeploymentOrder(String deploymentOrder) Sets the value of thedeploymentOrderproperty.voidsetDescription(String description) Sets the value of thedescriptionproperty.voidsetDirectoryDeployed(String directoryDeployed) Sets the value of thedirectoryDeployedproperty.voidsetEnabled(String enabled) Sets the value of theenabledproperty.voidsetLibraries(String libraries) Sets the value of thelibrariesproperty.voidsetLocation(String location) Sets the value of thelocationproperty.voidsetObjectType(String objectType) Sets the value of theobjectTypeproperty.voidsetResources(Resources resources) Methods inherited from interface org.glassfish.api.admin.config.ApplicationName
getName, setNameMethods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParentMethods inherited from interface org.jvnet.hk2.config.types.PropertyBag
addProperty, getProperty, getPropertyValue, getPropertyValue, lookupProperty, removeProperty, removeProperty
-
Field Details
-
APP_LOCATION_PROP_NAME
- See Also:
-
DEPLOYMENT_PLAN_LOCATION_PROP_NAME
- See Also:
-
ARCHIVE_TYPE_PROP_NAME
- See Also:
-
ALT_DD_LOCATION_PROP_NAME
- See Also:
-
RUNTIME_ALT_DD_LOCATION_PROP_NAME
- See Also:
-
-
Method Details
-
getContextRoot
String getContextRoot()Gets the value of thecontextRootproperty.- Returns:
- possible object is
String
-
setContextRoot
Sets the value of thecontextRootproperty.- Parameters:
contextRoot- allowed object isString- Throws:
PropertyVetoException
-
getLocation
String getLocation()Gets the value of thelocationproperty.- Returns:
- possible object is
String
-
setLocation
Sets the value of thelocationproperty.- Parameters:
location- allowed object isString- Throws:
PropertyVetoException
-
getObjectType
Gets the value of theobjectTypeproperty.- Returns:
- possible object is
String
-
setObjectType
Sets the value of theobjectTypeproperty.- Parameters:
objectType- allowed object isString- Throws:
PropertyVetoException
-
getEnabled
String getEnabled()Gets the value of theenabledproperty.- Returns:
- possible object is
String
-
setEnabled
Sets the value of theenabledproperty.- Parameters:
enabled- allowed object isString- Throws:
PropertyVetoException
-
getLibraries
String getLibraries()Gets the value of thelibrariesproperty.- Returns:
- possible object is
String
-
setLibraries
Sets the value of thelibrariesproperty.- Parameters:
libraries- allowed object isString- Throws:
PropertyVetoException
-
getAvailabilityEnabled
String getAvailabilityEnabled()Gets the value of theavailabilityEnabledproperty.- Returns:
- possible object is
String
-
setAvailabilityEnabled
Sets the value of theavailabilityEnabledproperty.- Parameters:
availabilityEnabled- allowed object isString- Throws:
PropertyVetoException
-
getAsyncReplication
String getAsyncReplication()Gets the value of theasyncReplicationproperty.- Returns:
- possible object is
String
-
setAsyncReplication
Sets the value of theasyncReplicationproperty.- Parameters:
asyncReplication- allowed object isString- Throws:
PropertyVetoException
-
getDirectoryDeployed
String getDirectoryDeployed()Gets the value of thedirectoryDeployedproperty.- Returns:
- possible object is
String
-
setDirectoryDeployed
Sets the value of thedirectoryDeployedproperty.- Parameters:
directoryDeployed- allowed object isString- Throws:
PropertyVetoException
-
getDescription
String getDescription()Gets the value of thedescriptionproperty.- Returns:
- possible object is
String
-
setDescription
Sets the value of thedescriptionproperty.- Parameters:
description- allowed object isString- Throws:
PropertyVetoException
-
getDeploymentOrder
String getDeploymentOrder()Gets the value of thedeploymentOrderproperty.- Returns:
- possible object is
String
-
setDeploymentOrder
Sets the value of thedeploymentOrderproperty.- Parameters:
deploymentOrder- allowed object isString- Throws:
PropertyVetoException
-
getModule
-
getEngine
Gets the value of theengineproperty.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 a
setmethod for theengineproperty.For example, to add a new item, do as follows:
getEngine().add(newItem);
Objects of the following type(s) are allowed in the list
Engine -
getResources
Resources getResources() -
setResources
- Throws:
PropertyVetoException
-
getAppTenants
AppTenants getAppTenants() -
setAppTenants
-
getExtensions
List<ApplicationExtension> getExtensions() -
getExtensionByType
Get an extension of the specified type. If there is more than one, it is undefined as to which one is returned. -
getExtensionsByType
Get all extensions of the specified type. If there are none, and empty list is returned. -
getModule
-
getDeployProperties
-
getDeployParameters
default org.glassfish.api.deployment.DeployCommandParameters getDeployParameters(ApplicationRef appRef) -
getModulePropertiesMap
-
isStandaloneModule
default boolean isStandaloneModule() -
containsSnifferType
-
isLifecycleModule
default boolean isLifecycleModule() -
application
-
deploymentPlan
-
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
-