@Authors(value="Nikolche Mihajlovski") @Since(value="5.2.0") public class Environment extends RapidoidInitializer
| Constructor and Description |
|---|
Environment() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
args() |
Map<String,String> |
argsAsMap() |
boolean |
hasAnyProfile(String... profileNames) |
boolean |
hasProfile(String profileName) |
boolean |
isInitialized() |
EnvMode |
mode() |
Set<String> |
profiles() |
EnvProperties |
properties() |
void |
reset() |
void |
setArgs(String... args) |
void |
setProfiles(String... activeProfiles) |
public EnvMode mode()
public void reset()
public void setArgs(String... args)
public boolean hasProfile(String profileName)
public boolean hasAnyProfile(String... profileNames)
public void setProfiles(String... activeProfiles)
public boolean isInitialized()
public EnvProperties properties()
Copyright © 2014–2018 Nikolche Mihajlovski and contributors. All rights reserved.