Uses of Interface
io.streamthoughts.azkarra.api.components.condition.Condition
-
-
Uses of Condition in io.streamthoughts.azkarra.api.annotations
Methods in io.streamthoughts.azkarra.api.annotations that return types with arguments of type Condition Modifier and Type Method Description Class<? extends Condition>[]
conditions()
Specify one or more conditions that the component must match. -
Uses of Condition in io.streamthoughts.azkarra.api.components
Methods in io.streamthoughts.azkarra.api.components that return types with arguments of type Condition Modifier and Type Method Description Optional<Condition>
ComponentDescriptor. condition()
Gets theCondition
that need to be fulfilled for this component to be eligible for use in the application.Optional<Condition>
SimpleComponentDescriptor. condition()
Gets theCondition
that need to be fulfilled for this component to be eligible for use in the application.Constructors in io.streamthoughts.azkarra.api.components with parameters of type Condition Constructor Description SimpleComponentDescriptor(String name, Class<T> type, ClassLoader classLoader, Supplier<T> supplier, String version, boolean isSingleton, boolean isPrimary, boolean isSecondary, boolean isEager, Condition condition, int order)
Creates a newSimpleComponentDescriptor
instance. -
Uses of Condition in io.streamthoughts.azkarra.api.components.condition
Classes in io.streamthoughts.azkarra.api.components.condition that implement Condition Modifier and Type Class Description class
OnComponentCondition
class
OnPropertyCondition<T>
Condition to express a requirement for a given property.class
TrueCondition
Returnstrue
.Fields in io.streamthoughts.azkarra.api.components.condition declared as Condition Modifier and Type Field Description static Condition
Condition. True
Methods in io.streamthoughts.azkarra.api.components.condition that return Condition Modifier and Type Method Description static Condition
Conditions. compose(Condition... conditions)
Static helper method to create aCondition
compose of the given ones.static Condition
Conditions. compose(List<? extends Condition> conditions)
Static helper method to create aCondition
compose of the given ones.static Condition
Conditions. onComponents(List<Class> types)
Specify that components of the given types must be registered for the component to be enabled.static Condition
Conditions. onMissingComponent(List<Class> types)
Specify that components of the given types must be missing for the component to be enabled.static Condition
Conditions. onPropertyEquals(String property, String value)
Specify that the given property should be equal to the given value for a component to be eligible for use.static Condition
Conditions. onPropertyExist(String property)
Specify that the given property should be set for a component to be eligible for use.static Condition
Conditions. onPropertyMatches(String property, String pattern)
Specify that the given property should be matched the given pattern for a component to be eligible for use.static Condition
Conditions. onPropertyMissing(String property)
Specify that the given property should be missing for a component to be eligible for use.static Condition
Conditions. onPropertyNotEquals(String property, String value)
Specify that the given property should be equal to the given value for a component to be eligible for use.static Condition
Conditions. onPropertyTrue(String property)
Specify that the given property should betrue
for a component to be eligible for use.Methods in io.streamthoughts.azkarra.api.components.condition that return types with arguments of type Condition Modifier and Type Method Description static List<Condition>
Conditions. buildConditionsForAnnotation(List<ConditionalOn> annotations)
Static helper to build a list ofCondition
s based on the given annotation.Methods in io.streamthoughts.azkarra.api.components.condition with parameters of type Condition Modifier and Type Method Description static Condition
Conditions. compose(Condition... conditions)
Static helper method to create aCondition
compose of the given ones.Method parameters in io.streamthoughts.azkarra.api.components.condition with type arguments of type Condition Modifier and Type Method Description static Condition
Conditions. compose(List<? extends Condition> conditions)
Static helper method to create aCondition
compose of the given ones. -
Uses of Condition in io.streamthoughts.azkarra.runtime.components
Methods in io.streamthoughts.azkarra.runtime.components that return types with arguments of type Condition Modifier and Type Method Description Optional<Condition>
ComponentDescriptorBuilder. condition()
Gets theCondition
that need to be fulfilled for this component to be eligible for use in the application.Methods in io.streamthoughts.azkarra.runtime.components with parameters of type Condition Modifier and Type Method Description ComponentDescriptorBuilder<T>
ComponentDescriptorBuilder. condition(Condition condition)
static ComponentDescriptorModifier
ComponentDescriptorModifiers. withConditions(Condition... conditions)
Gets a modifier implementation that will set the conditions that conditions that need to be fulfilled for the component to be eligible for use in the application.Method parameters in io.streamthoughts.azkarra.runtime.components with type arguments of type Condition Modifier and Type Method Description static ComponentDescriptorModifier
ComponentDescriptorModifiers. withConditions(List<Condition> conditions)
Gets a modifier implementation that will set the conditions that conditions that need to be fulfilled for the component to be eligible for use in the application.
-