Class OnComponentCondition

    • Constructor Detail

      • OnComponentCondition

        public OnComponentCondition​(List<Class> types,
                                    boolean exists)
        Creates a new OnComponentCondition instance.
        Parameters:
        exists -
    • Method Detail

      • matches

        public boolean matches​(ConditionContext context)
        Verifies if the condition matches.
        Specified by:
        matches in interface Condition
        Parameters:
        context - the ConditionContext.
        Returns:
        true if the component matches this condition, false otherwise.