public class Configuration extends Object
| Constructor and Description |
|---|
Configuration() |
| Modifier and Type | Method and Description |
|---|---|
static Configuration |
fromMap(Map<String,String> map) |
String |
getEnvironment()
Resolves a logical environment name for a project, such as
Testing to the physical projcect/team specific
namespace value. |
URL |
getEnvironmentConfigUrl() |
List<String> |
getEnvironmentDependencies() |
Boolean |
getGofabric8Enabled() |
String |
getKubernetesDomain() |
String |
getMasterUrl() |
long |
getNamespaceCleanupTimeout() |
String |
getNamespaceToUse() |
Map<String,String> |
getProperties() |
long |
getWaitForServiceConnectionTimeout() |
List<String> |
getWaitForServiceList() |
long |
getWaitPollInterval() |
long |
getWaitTimeout() |
boolean |
isAnsiLoggerEnabled() |
boolean |
isEnvironmentInitEnabled() |
boolean |
isNamespaceCleanupConfirmationEnabled() |
boolean |
isNamespaceCleanupEnabled() |
boolean |
isNamespaceLazyCreateEnabled() |
boolean |
isUseGoFabric8() |
boolean |
isWaitForServiceConnectionEnabled() |
public Boolean getGofabric8Enabled()
public String getKubernetesDomain()
public boolean isEnvironmentInitEnabled()
public boolean isAnsiLoggerEnabled()
public long getWaitForServiceConnectionTimeout()
public boolean isWaitForServiceConnectionEnabled()
public long getWaitPollInterval()
public long getWaitTimeout()
public boolean isNamespaceCleanupConfirmationEnabled()
public long getNamespaceCleanupTimeout()
public boolean isNamespaceCleanupEnabled()
public boolean isNamespaceLazyCreateEnabled()
public String getNamespaceToUse()
public String getEnvironment()
Testing to the physical projcect/team specific
namespace value.
It tries to find a fabric8.yml file in this folder or a parent folder and loads it and tries to use it to find the
namespace for the given environment or uses environment variables to resolve the environment name -> physical namespacepublic URL getEnvironmentConfigUrl()
public String getMasterUrl()
public boolean isUseGoFabric8()
public static Configuration fromMap(Map<String,String> map)
Copyright © 2011–2017 Red Hat. All rights reserved.