Interface ComponentConditionalContext<T extends ComponentDescriptor>

    • Method Detail

      • isEnable

        boolean isEnable​(ComponentFactory factory,
                         T descriptor)
        Verify if this component is enabled for the given context.
        Parameters:
        factory - the ComponentFactory; cannot be null.
        descriptor - the ComponentDescriptor; cannot be null.
        Returns:
        true if the compoenent is enable.