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 -
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 TypeMethodDescriptionbooleancontainsSnifferType(String snifferType) Gets the value of the asyncReplication property.Gets the value of the availabilityEnabled property.Gets the value of the contextRoot property.Gets the value of the deploymentOrder property.org.glassfish.api.deployment.DeployCommandParametersgetDeployParameters(ApplicationRef appRef) Gets the value of the description property.Gets the value of the directoryDeployed property.Gets the value of the enabled property.Gets the value of the engine property.<T extends ApplicationExtension>
TgetExtensionByType(Class<T> type) <T extends ApplicationExtension>
List<T>getExtensionsByType(Class<T> type) Gets the value of the libraries property.Gets the value of the location property.@NotNull StringGets the value of the objectType property.List<org.jvnet.hk2.config.types.Property>Properties as perPropertyBagbooleanbooleanvoidrecordFileLocations(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) 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 the contextRoot property.- Returns:
- possible object is
String
-
setContextRoot
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
Sets the value of the location property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getObjectType
Gets the value of the objectType property.- Returns:
- possible object is
String
-
setObjectType
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
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
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
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
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
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
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
Sets the value of the deploymentOrder property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getModule
-
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
- Throws:
PropertyVetoException
-
getAppTenants
AppTenants getAppTenants() -
setAppTenants
-
getExtensions
List<ApplicationExtension> getExtensions() -
getExtensionByType
-
getExtensionsByType
-
getModule
-
getDeployProperties
-
getDeployParameters
@DuckTyped org.glassfish.api.deployment.DeployCommandParameters getDeployParameters(ApplicationRef appRef) -
getModulePropertiesMap
-
isStandaloneModule
@DuckTyped boolean isStandaloneModule() -
containsSnifferType
-
isLifecycleModule
@DuckTyped boolean isLifecycleModule() -
recordFileLocations
-
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
-