Modifier and Type | Class and Description |
---|---|
static class |
ApplicationConfig.ColorOutput |
Constructor and Description |
---|
ApplicationConfig() |
Modifier and Type | Method and Description |
---|---|
ApplicationConfig |
addBasePackage(String basePackage) |
Set<String> |
getBasePackages() |
ApplicationConfig.ColorOutput |
getColorOutput() |
String |
getId() |
String |
getName() |
File |
getStorage() |
String |
getVersion() |
boolean |
isPackageScanWarning() |
boolean |
isPrintBanner() |
boolean |
isStorageEnabled() |
ApplicationConfig |
setColorOutput(ApplicationConfig.ColorOutput colorOutput) |
ApplicationConfig |
setId(String id)
Sets the identifier of the application (keep it in sync with the name if already equals to it).
|
ApplicationConfig |
setName(String name) |
ApplicationConfig |
setPackageScanWarning(boolean packageScanWarning) |
ApplicationConfig |
setPrintBanner(boolean printBanner) |
ApplicationConfig |
setStorage(File storage) |
ApplicationConfig |
setVersion(String version) |
public String getId()
public ApplicationConfig setId(String id)
id
- the identifier.public String getName()
public ApplicationConfig setName(String name)
public String getVersion()
public ApplicationConfig setVersion(String version)
public File getStorage()
public ApplicationConfig setStorage(File storage)
public boolean isStorageEnabled()
public ApplicationConfig addBasePackage(String basePackage)
public boolean isPackageScanWarning()
public ApplicationConfig setPackageScanWarning(boolean packageScanWarning)
public boolean isPrintBanner()
public ApplicationConfig setPrintBanner(boolean printBanner)
public ApplicationConfig.ColorOutput getColorOutput()
public ApplicationConfig setColorOutput(ApplicationConfig.ColorOutput colorOutput)
Copyright © 2013-2018–2019 SeedStack. All rights reserved.