| Package | Description |
|---|---|
| restx.factory |
| Modifier and Type | Class and Description |
|---|---|
static class |
Factory.ClassQuery<T> |
static class |
Factory.FactoryQuery |
static class |
Factory.MultipleQuery<T> |
static class |
Factory.NameQuery<T> |
static class |
Factory.SingleQuery<T> |
| Modifier and Type | Method and Description |
|---|---|
abstract Factory.Query<T> |
Factory.Query.bind(Factory factory) |
Factory.Query<Factory> |
Factory.FactoryQuery.bind(Factory factory) |
Factory.Query<T> |
Factory.NameQuery.bind(Factory factory) |
Factory.Query<T> |
Factory.ClassQuery.bind(Factory factory) |
static <T> Factory.Query<T> |
Factory.Query.byClass(Class<T> componentClass) |
static <T> Factory.Query<T> |
Factory.Query.byName(Name<T> name) |
static Factory.Query<Factory> |
Factory.Query.factoryQuery() |
Factory.Query<T> |
Factory.SatisfiedQuery.getQuery() |
Factory.Query<?> |
Factory.UnsatisfiedDependency.getUnsatisfied() |
Factory.Query<T> |
Factory.Query.mandatory() |
Factory.Query<T> |
Factory.Query.optional() |
<T> Factory.Query<T> |
Factory.queryByClass(Class<T> componentClass) |
<T> Factory.Query<T> |
Factory.queryByName(Name<T> name) |
Factory.Query<Factory> |
Factory.FactoryQuery.setMandatory(boolean mandatory) |
Factory.Query<T> |
Factory.NameQuery.setMandatory(boolean mandatory) |
Factory.Query<T> |
Factory.ClassQuery.setMandatory(boolean mandatory) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableSet<Factory.Query<?>> |
BillOfMaterials.getQueries() |
| Modifier and Type | Method and Description |
|---|---|
<T> Iterable<NamedComponent<T>> |
SatisfiedBOM.get(Factory.Query<T> key) |
<T> Iterable<T> |
SatisfiedBOM.getAsComponents(Factory.Query<T> key) |
<T> com.google.common.base.Optional<NamedComponent<T>> |
SatisfiedBOM.getOne(Factory.Query<T> key) |
<T> com.google.common.base.Optional<T> |
SatisfiedBOM.getOneAsComponent(Factory.Query<T> key) |
static BillOfMaterials |
BillOfMaterials.of(Factory.Query<?>... query) |
static <T> Factory.SatisfiedQuery<T> |
Factory.SatisfiedQuery.of(Factory.Query<T> query,
Name<T> name) |
static <T> Factory.UnsatisfiedDependency |
Factory.UnsatisfiedDependency.on(Factory.Query<T> unsatisfied) |
static Factory.UnsatisfiedDependency |
Factory.UnsatisfiedDependency.on(com.google.common.collect.ImmutableList<Factory.SatisfiedQuery<?>> path,
Factory.Query<?> unsatisfied) |
static Factory.UnsatisfiedDependency |
Factory.UnsatisfiedDependency.on(com.google.common.collect.ImmutableList<Factory.SatisfiedQuery<?>> path,
Factory.Query<?> unsatisfied,
String rootCause) |
FactoryMachineWrapper.Builder |
FactoryMachineWrapper.Builder.withDependencies(Factory.Query<?>... q) |
| Modifier and Type | Method and Description |
|---|---|
BillOfMaterials |
BillOfMaterials.addQueries(Iterable<Factory.Query<?>> queries) |
| Constructor and Description |
|---|
BillOfMaterials(com.google.common.collect.ImmutableSet<Factory.Query<?>> bill) |
SatisfiedBOM(BillOfMaterials bom,
com.google.common.collect.ImmutableMultimap<Factory.Query<?>,NamedComponent<?>> materials) |
Copyright © 2017. All Rights Reserved.