public class ContextAwareWildflyRuntimeExecConfig extends Object implements ContextAware, WildflyRuntimeExecConfig, CloneableConfig<WildflyRuntimeExecConfig>
REDEPLOY_STRATEGY, WAR_PATH
RUNTIME_NAME
Constructor and Description |
---|
ContextAwareWildflyRuntimeExecConfig() |
ContextAwareWildflyRuntimeExecConfig(String runtimeName,
ProviderId providerId,
String warPath,
String redeployStrategy) |
Modifier and Type | Method and Description |
---|---|
WildflyRuntimeExecConfig |
asNewClone(WildflyRuntimeExecConfig origin) |
boolean |
equals(Object o) |
ProviderId |
getProviderId() |
String |
getRedeployStrategy()
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 exist
|
String |
getRuntimeName() |
String |
getWarPath()
Get the War / App path
|
int |
hashCode() |
void |
setContext(Map<String,?> context) |
public ContextAwareWildflyRuntimeExecConfig()
public ContextAwareWildflyRuntimeExecConfig(String runtimeName, ProviderId providerId, String warPath, String redeployStrategy)
public void setContext(Map<String,?> context)
setContext
in interface ContextAware
public ProviderId getProviderId()
getProviderId
in interface ProvisioningConfig
getProviderId
in interface RuntimeConfig
public String getWarPath()
WildflyRuntimeConfiguration
getWarPath
in interface WildflyRuntimeConfiguration
public String getRedeployStrategy()
WildflyRuntimeConfiguration
getRedeployStrategy
in interface WildflyRuntimeConfiguration
public String getRuntimeName()
getRuntimeName
in interface RuntimeConfig
public WildflyRuntimeExecConfig asNewClone(WildflyRuntimeExecConfig origin)
asNewClone
in interface CloneableConfig<WildflyRuntimeExecConfig>
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.