public interface WebEnvironment
Modifier and Type | Field and Description |
---|---|
static String |
ENV_VARIABLE_NAME |
static String |
SYSTEM_PROPERTY_NAME |
Modifier and Type | Method and Description |
---|---|
static boolean |
development()
Will return true if the mode is not null and equals ignoring case the string "dev"
|
static String |
mode()
The current mode from the system properties with fallback to environment variables
|
static final String SYSTEM_PROPERTY_NAME
static final String ENV_VARIABLE_NAME
static boolean development()
static String mode()
Copyright © 2023 Eclipse. All rights reserved.