Interface DisableSupport

    • Method Detail

      • getDisabledBy

        java.util.Set<ItemId> getDisabledBy()
        Item may be disabled either from root application class or from GuiceyBundle. For application, Application class stored as context and for guicey bundle actual bundle instance id is stored.
        Returns:
        contexts where item was disabled or empty collection
      • isEnabled

        boolean isEnabled()
        Item is enabled if no one disable it (getDisabledBy() is empty).
        Returns:
        true if item enabled, false otherwise