Class ContextAwareWildflyRuntimeExecConfig
- java.lang.Object
-
- org.guvnor.ala.wildfly.config.impl.ContextAwareWildflyRuntimeExecConfig
-
- All Implemented Interfaces:
org.guvnor.ala.config.CloneableConfig<WildflyRuntimeExecConfig>,org.guvnor.ala.config.Config,org.guvnor.ala.config.ProvisioningConfig,org.guvnor.ala.config.RuntimeConfig,org.guvnor.ala.pipeline.ContextAware,WildflyRuntimeConfiguration,WildflyRuntimeExecConfig
public class ContextAwareWildflyRuntimeExecConfig extends Object implements org.guvnor.ala.pipeline.ContextAware, WildflyRuntimeExecConfig, org.guvnor.ala.config.CloneableConfig<WildflyRuntimeExecConfig>
-
-
Field Summary
-
Fields inherited from interface org.guvnor.ala.wildfly.config.WildflyRuntimeConfiguration
REDEPLOY_STRATEGY, WAR_PATH
-
-
Constructor Summary
Constructors Constructor Description ContextAwareWildflyRuntimeExecConfig()ContextAwareWildflyRuntimeExecConfig(String runtimeName, org.guvnor.ala.runtime.providers.ProviderId providerId, String warPath, String redeployStrategy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WildflyRuntimeExecConfigasNewClone(WildflyRuntimeExecConfig origin)booleanequals(Object o)org.guvnor.ala.runtime.providers.ProviderIdgetProviderId()StringgetRedeployStrategy()Get the Redeploy Strategy for apps in wildfly - auto: will automatically redeploy the app if it already exist - none: will fail if you try to redeploy an app that already existStringgetRuntimeName()StringgetWarPath()Get the War / App pathinthashCode()voidsetContext(Map<String,?> context)
-
-
-
Method Detail
-
setContext
public void setContext(Map<String,?> context)
- Specified by:
setContextin interfaceorg.guvnor.ala.pipeline.ContextAware
-
getProviderId
public org.guvnor.ala.runtime.providers.ProviderId getProviderId()
- Specified by:
getProviderIdin interfaceorg.guvnor.ala.config.ProvisioningConfig- Specified by:
getProviderIdin interfaceorg.guvnor.ala.config.RuntimeConfig
-
getWarPath
public String getWarPath()
Description copied from interface:WildflyRuntimeConfigurationGet the War / App path- Specified by:
getWarPathin interfaceWildflyRuntimeConfiguration- Returns:
- String with the path where the WAR (Web Archive) is located.
-
getRedeployStrategy
public String getRedeployStrategy()
Description copied from interface:WildflyRuntimeConfigurationGet the Redeploy Strategy for apps in wildfly - auto: will automatically redeploy the app if it already exist - none: will fail if you try to redeploy an app that already exist- Specified by:
getRedeployStrategyin interfaceWildflyRuntimeConfiguration- Returns:
- String with the strategy
-
getRuntimeName
public String getRuntimeName()
- Specified by:
getRuntimeNamein interfaceorg.guvnor.ala.config.RuntimeConfig
-
asNewClone
public WildflyRuntimeExecConfig asNewClone(WildflyRuntimeExecConfig origin)
- Specified by:
asNewClonein interfaceorg.guvnor.ala.config.CloneableConfig<WildflyRuntimeExecConfig>
-
-