public class DefaultConfiguration extends Object implements Configuration
| Modifier and Type | Field and Description |
|---|---|
static String |
ROOT |
ANSI_LOGGER_ENABLED, DEFAULT_CONFIG_FILE_NAME, DEFAULT_NAMESPACE_CLEANUP_TIMEOUT, DEFAULT_NAMESPACE_DESTROY_TIMEOUT, DEFAULT_NAMESPACE_LAZY_CREATE_ENABLED, DEFAULT_WAIT_POLL_INTERVAL, DEFAULT_WAIT_TIMEOUT, DOCKER_REGISTRY_FORMAT, DOCKER_REGISTRY_HOST, DOCKER_REGISTRY_PORT, DOCKER_REGISTY, DOMAIN, ENVIRONMENT_CONFIG_RESOURCE_NAME, ENVIRONMENT_CONFIG_URL, ENVIRONMENT_DEPENDENCIES, ENVIRONMENT_INIT_ENABLED, ENVIRONMENT_SETUP_SCRIPT_URL, ENVIRONMENT_TEARDOWN_SCRIPT_URL, FALLBACK_CLIENT_CONFIG, KUBERNETES_DOMAIN, KUBERNETES_MASTER, KUBERNETES_NAMESPACE, MASTER_URL, NAMESPACE, NAMESPACE_CLEANUP_CONFIRM_ENABLED, NAMESPACE_CLEANUP_ENABLED, NAMESPACE_CLEANUP_TIMEOUT, NAMESPACE_DESTROY_CONFIRM_ENABLED, NAMESPACE_DESTROY_ENABLED, NAMESPACE_DESTROY_TIMEOUT, NAMESPACE_LAZY_CREATE_ENABLED, NAMESPACE_PREFIX, NAMESPACE_TO_USE, NAMESPACE_USE_CURRENT, WAIT_FOR_SERVICE_LIST, WAIT_POLL_INTERVAL, WAIT_TIMEOUT| Constructor and Description |
|---|
DefaultConfiguration(String sessionId,
URL masterUrl,
String namespace,
URL environmentSetupScriptUrl,
URL environmentTeardownScriptUrl,
URL environmentConfigUrl,
List<URL> environmentConfigAdditionalUrls,
List<URL> environmentDependencies,
boolean namespaceLazyCreateEnabled,
boolean namespaceCleanupEnabled,
long namespaceCleanupTimeout,
boolean namespaceCleanupConfirmationEnabled,
boolean namespaceDestroyEnabled,
boolean namespaceDestroyConfirmationEnabled,
long namespaceDestroyTimeout,
long waitTimeout,
long waitPollInterval,
List<String> waitForServiceList,
boolean ansiLoggerEnabled,
boolean environmentInitEnabled,
String kubernetesDomain,
String dockerRegistry) |
public static final String ROOT
public DefaultConfiguration(String sessionId, URL masterUrl, String namespace, URL environmentSetupScriptUrl, URL environmentTeardownScriptUrl, URL environmentConfigUrl, List<URL> environmentConfigAdditionalUrls, List<URL> environmentDependencies, boolean namespaceLazyCreateEnabled, boolean namespaceCleanupEnabled, long namespaceCleanupTimeout, boolean namespaceCleanupConfirmationEnabled, boolean namespaceDestroyEnabled, boolean namespaceDestroyConfirmationEnabled, long namespaceDestroyTimeout, long waitTimeout, long waitPollInterval, List<String> waitForServiceList, boolean ansiLoggerEnabled, boolean environmentInitEnabled, String kubernetesDomain, String dockerRegistry)
public static DefaultConfiguration fromMap(Map<String,String> map)
public static String getDockerRegistry(Map<String,String> map) throws MalformedURLException
MalformedURLExceptionpublic static URL getKubernetesConfigurationUrl(Map<String,String> map, String defaultFileName) throws MalformedURLException
map - The arquillian configuration.MalformedURLExceptionpublic static URL findConfigResource(String resourceName)
resourceName - The name of the resource.public static URL asUrlOrResource(String s)
s - The string to convert.public String getSessionId()
getSessionId in interface Configurationpublic String getNamespace()
getNamespace in interface Configurationpublic URL getMasterUrl()
getMasterUrl in interface Configurationpublic URL getEnvironmentSetupScriptUrl()
getEnvironmentSetupScriptUrl in interface Configurationpublic URL getEnvironmentTeardownScriptUrl()
getEnvironmentTeardownScriptUrl in interface Configurationpublic URL getEnvironmentConfigUrl()
getEnvironmentConfigUrl in interface Configurationpublic List<URL> getEnvironmentConfigAdditionalUrls()
getEnvironmentConfigAdditionalUrls in interface Configurationpublic List<URL> getEnvironmentDependencies()
getEnvironmentDependencies in interface Configurationpublic boolean isNamespaceLazyCreateEnabled()
isNamespaceLazyCreateEnabled in interface Configurationpublic boolean isNamespaceCleanupEnabled()
isNamespaceCleanupEnabled in interface Configurationpublic long getNamespaceCleanupTimeout()
getNamespaceCleanupTimeout in interface Configurationpublic boolean isNamespaceCleanupConfirmationEnabled()
isNamespaceCleanupConfirmationEnabled in interface Configurationpublic boolean isNamespaceDestroyEnabled()
isNamespaceDestroyEnabled in interface Configurationpublic boolean isNamespaceDestroyConfirmationEnabled()
isNamespaceDestroyConfirmationEnabled in interface Configurationpublic long getNamespaceDestroyTimeout()
getNamespaceDestroyTimeout in interface Configurationpublic long getWaitTimeout()
getWaitTimeout in interface Configurationpublic long getWaitPollInterval()
getWaitPollInterval in interface Configurationpublic List<String> getWaitForServiceList()
getWaitForServiceList in interface Configurationpublic boolean isAnsiLoggerEnabled()
isAnsiLoggerEnabled in interface Configurationpublic boolean isEnvironmentInitEnabled()
isEnvironmentInitEnabled in interface Configurationpublic String getKubernetesDomain()
getKubernetesDomain in interface Configurationpublic String getDockerRegistry()
getDockerRegistry in interface ConfigurationCopyright © 2017 JBoss by Red Hat. All rights reserved.