Package | Description |
---|---|
io.toro.martini | |
io.toro.martini.ipackage | |
io.toro.martini.util |
Modifier and Type | Field and Description |
---|---|
(package private) static ThreadLocal<EnhancedStack<MartiniPackage>> |
PackageMethods.context |
Modifier and Type | Method and Description |
---|---|
static MartiniPackage |
PackageMethods.getPackage()
Get the package assigned to the current context.
|
static MartiniPackage |
GroovyMethods.getPackage()
Deprecated.
Moved to
PackageMethods.getPackage() |
static MartiniPackage |
MartiniMethods.getRealPackage(String packageName)
Get the package matching the provided name, if it exists.
|
Modifier and Type | Method and Description |
---|---|
protected EnhancedStack<MartiniPackage> |
PackageMethods.PackageInheritableThreadLocal.childValue(EnhancedStack<MartiniPackage> parentValue) |
Modifier and Type | Method and Description |
---|---|
static GloopModel |
MartiniMethods.packageConfigToGloopModel(MartiniPackage martiniPackage)
Fetch the configuration of the provided package, and then return it as a Gloop model.
|
(package private) static String |
GloopTemplateMethods.render(GloopExecutionContext context,
io.toro.gloop.template.GloopTemplateResolver resolver,
MartiniPackage martiniPackage,
io.toro.gloop.template.GloopTemplate template,
boolean closeContext) |
static void |
PackageMethods.MartiniPackageSetter.setPackage(MartiniPackage martiniPackage)
Sets a
MartiniPackage to the context |
static void |
GroovyMethods.MartiniPackageSetter.setPackage(MartiniPackage martiniPackage)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected EnhancedStack<MartiniPackage> |
PackageMethods.PackageInheritableThreadLocal.childValue(EnhancedStack<MartiniPackage> parentValue) |
static String |
StringMethods.martiniPackageJoin(Collection<MartiniPackage> col,
String separator)
Get the names of the provided packages, and concatenate them into a single string.
|
Modifier and Type | Method and Description |
---|---|
MartiniPackage |
MartiniPackageProvider.getLoadedPackage(String name) |
MartiniPackage |
PackageManager.loadPackage(String name,
boolean resolveParent)
Load a Martini Package.
|
Modifier and Type | Method and Description |
---|---|
Collection<MartiniPackage> |
MartiniPackageProvider.getLoadedPackages() |
default Collection<MartiniPackage> |
MartiniPackageProvider.getLoadedPackages(Predicate<MartiniPackage> filter) |
Optional<MartiniPackage> |
MartiniPackageProvider.getPackage(String name) |
Collection<MartiniPackage> |
MartiniPackageProvider.getPackages() |
default Collection<MartiniPackage> |
MartiniPackageProvider.getPackages(Predicate<MartiniPackage> filter) |
abstract Collection<MartiniPackage> |
MartiniPackage.getParentPackages() |
Modifier and Type | Method and Description |
---|---|
default Collection<MartiniPackage> |
MartiniPackageProvider.getLoadedPackages(Predicate<MartiniPackage> filter) |
default Collection<MartiniPackage> |
MartiniPackageProvider.getPackages(Predicate<MartiniPackage> filter) |
(package private) abstract void |
MartiniPackage.setParentPackages(Collection<MartiniPackage> parentPackages) |
Modifier and Type | Method and Description |
---|---|
static <T> T |
BeanUtils.getBean(String name,
MartiniPackage martiniPackage) |
Copyright © 2021. All rights reserved.