public interface Application extends ApplicationName, ApplicationDeploymentTime, PropertyBag
Application| Modifier and Type | Interface and Description |
|---|---|
static class |
Application.Duck |
| Modifier and Type | Field and Description |
|---|---|
static String |
ALT_DD_LOCATION_PROP_NAME |
static String |
APP_LOCATION_PROP_NAME |
static String |
ARCHIVE_TYPE_PROP_NAME |
static String |
DEPLOYMENT_PLAN_LOCATION_PROP_NAME |
static String |
RUNTIME_ALT_DD_LOCATION_PROP_NAME |
NAME_APP_REGEX| Modifier and Type | Method and Description |
|---|---|
File |
application() |
String |
archiveType() |
boolean |
containsSnifferType(String snifferType) |
File |
deploymentPlan() |
AppTenants |
getAppTenants() |
String |
getAsyncReplication()
Gets the value of the asyncReplication property.
|
String |
getAvailabilityEnabled()
Gets the value of the availabilityEnabled property.
|
String |
getContextRoot()
Gets the value of the contextRoot property.
|
String |
getDeploymentOrder()
Gets the value of the deploymentOrder property.
|
DeployCommandParameters |
getDeployParameters(ApplicationRef appRef) |
Properties |
getDeployProperties() |
String |
getDescription()
Gets the value of the description property.
|
String |
getDirectoryDeployed()
Gets the value of the directoryDeployed property.
|
String |
getEnabled()
Gets the value of the enabled property.
|
List<Engine> |
getEngine()
Gets the value of the engine property.
|
<T extends ApplicationExtension> |
getExtensionByType(Class<T> type) |
List<ApplicationExtension> |
getExtensions() |
<T extends ApplicationExtension> |
getExtensionsByType(Class<T> type) |
String |
getLibraries()
Gets the value of the libraries property.
|
String |
getLocation()
Gets the value of the location property.
|
List<Module> |
getModule() |
Module |
getModule(String moduleName) |
Map<String,Properties> |
getModulePropertiesMap() |
@NotNull String |
getObjectType()
Gets the value of the objectType property.
|
List<Property> |
getProperty()
Properties as per
PropertyBag |
Resources |
getResources() |
boolean |
isLifecycleModule() |
boolean |
isStandaloneModule() |
void |
recordFileLocations(File app,
File plan) |
void |
setAppTenants(AppTenants appTenants) |
void |
setAsyncReplication(String value)
Sets the value of the asyncReplication property.
|
void |
setAvailabilityEnabled(String value)
Sets the value of the availabilityEnabled property.
|
void |
setContextRoot(String value)
Sets the value of the contextRoot property.
|
void |
setDeploymentOrder(String value)
Sets the value of the deploymentOrder property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setDirectoryDeployed(String value)
Sets the value of the directoryDeployed property.
|
void |
setEnabled(String value)
Sets the value of the enabled property.
|
void |
setLibraries(String value)
Sets the value of the libraries property.
|
void |
setLocation(String value)
Sets the value of the location property.
|
void |
setObjectType(String value)
Sets the value of the objectType property.
|
void |
setResources(Resources resources) |
getName, setNamegetDeploymentTime, getTimeDeployed, setDeploymentTime, setTimeDeployedcreateChild, deepCopy, getParent, getParentaddProperty, getProperty, getPropertyValue, getPropertyValue, lookupProperty, removeProperty, removePropertystatic final String APP_LOCATION_PROP_NAME
static final String DEPLOYMENT_PLAN_LOCATION_PROP_NAME
static final String ARCHIVE_TYPE_PROP_NAME
static final String ALT_DD_LOCATION_PROP_NAME
static final String RUNTIME_ALT_DD_LOCATION_PROP_NAME
String getContextRoot()
Stringvoid setContextRoot(String value) throws PropertyVetoException
value - allowed object is StringPropertyVetoExceptionString getLocation()
Stringvoid setLocation(String value) throws PropertyVetoException
value - allowed object is StringPropertyVetoException@NotNull @NotNull String getObjectType()
Stringvoid setObjectType(String value) throws PropertyVetoException
value - allowed object is StringPropertyVetoExceptionString getEnabled()
Stringvoid setEnabled(String value) throws PropertyVetoException
value - allowed object is StringPropertyVetoExceptionString getLibraries()
Stringvoid setLibraries(String value) throws PropertyVetoException
value - allowed object is StringPropertyVetoExceptionString getAvailabilityEnabled()
Stringvoid setAvailabilityEnabled(String value) throws PropertyVetoException
value - allowed object is StringPropertyVetoExceptionString getAsyncReplication()
Stringvoid setAsyncReplication(String value) throws PropertyVetoException
value - allowed object is StringPropertyVetoExceptionString getDirectoryDeployed()
Stringvoid setDirectoryDeployed(String value) throws PropertyVetoException
value - allowed object is StringPropertyVetoExceptionString getDescription()
Stringvoid setDescription(String value) throws PropertyVetoException
value - allowed object is StringPropertyVetoExceptionString getDeploymentOrder()
Stringvoid setDeploymentOrder(String value) throws PropertyVetoException
value - allowed object is StringPropertyVetoExceptionList<Engine> getEngine()
set method 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 list EngineResources getResources()
void setResources(Resources resources) throws PropertyVetoException
PropertyVetoExceptionAppTenants getAppTenants()
void setAppTenants(AppTenants appTenants)
List<ApplicationExtension> getExtensions()
@DuckTyped <T extends ApplicationExtension> T getExtensionByType(Class<T> type)
@DuckTyped <T extends ApplicationExtension> List<T> getExtensionsByType(Class<T> type)
@DuckTyped Module getModule(String moduleName)
@DuckTyped Properties getDeployProperties()
@DuckTyped DeployCommandParameters getDeployParameters(ApplicationRef appRef)
@DuckTyped Map<String,Properties> getModulePropertiesMap()
@DuckTyped boolean isStandaloneModule()
@DuckTyped boolean containsSnifferType(String snifferType)
@DuckTyped boolean isLifecycleModule()
@DuckTyped void recordFileLocations(File app, File plan)
@DuckTyped File application()
@DuckTyped File deploymentPlan()
@DuckTyped String archiveType()
@ToDo(priority=IMPORTANT, details="Provide PropertyDesc for legal props") @PropertiesDesc(props={}) List<Property> getProperty()
PropertyBaggetProperty in interface PropertyBagCopyright © 2019. All rights reserved.