Class InstallerItemInfoImpl

All Implemented Interfaces:
ClassItemInfo, InstallerItemInfo, ItemInfo, DisableSupport, ScanSupport

public class InstallerItemInfoImpl extends ClassItemInfoImpl implements InstallerItemInfo
Installer item info implementation.
Since:
06.07.2016
  • Constructor Details

    • InstallerItemInfoImpl

      public InstallerItemInfoImpl(Class<?> type)
      Create item.
      Parameters:
      type - installer type
  • Method Details

    • getDisabledBy

      public Set<ItemId> getDisabledBy()
      Description copied from interface: DisableSupport
      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.
      Specified by:
      getDisabledBy in interface DisableSupport
      Returns:
      contexts where item was disabled or empty collection
    • isEnabled

      public boolean isEnabled()
      Description copied from interface: DisableSupport
      Item is enabled if no one disable it (DisableSupport.getDisabledBy() is empty).
      Specified by:
      isEnabled in interface DisableSupport
      Returns:
      true if item enabled, false otherwise
    • isFromScan

      public boolean isFromScan()
      Specified by:
      isFromScan in interface ScanSupport
      Returns:
      true if item found by classpath scan, false otherwise