Class TrueCondition
- java.lang.Object
-
- io.streamthoughts.azkarra.api.components.condition.TrueCondition
-
- All Implemented Interfaces:
Condition
,Predicate<ConditionContext>
public class TrueCondition extends Object implements Condition
Returnstrue
.
-
-
Constructor Summary
Constructors Constructor Description TrueCondition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
matches(ConditionContext context)
Verifies if the condition matches.
-
-
-
Method Detail
-
matches
public boolean matches(ConditionContext context)
Verifies if the condition matches.- Specified by:
matches
in interfaceCondition
- Parameters:
context
- theConditionContext
.- Returns:
true
if the component matches this condition,false
otherwise.
-
-