| Constructor and Description |
|---|
EnvConfigImpl(EnvType env)
Constructor for EnvironmentInfoService object.
|
| Modifier and Type | Method and Description |
|---|---|
EnvType |
getEnv()
To get the environment type set on object creation.
|
boolean |
isDev()
True is on dev, otherwise false.
|
boolean |
isProd()
True is on production, otherwise false.
|
boolean |
isStage()
True is on stage, otherwise false.
|
boolean |
isTest()
True is on test, otherwise false.
|
@Inject public EnvConfigImpl(EnvType env)
env - Is the environment type.public final EnvType getEnv()
public final boolean isProd()
public final boolean isStage()
public final boolean isDev()