Class ExtensionStore

java.lang.Object
com.booksaw.betterTeams.extension.ExtensionStore

public class ExtensionStore extends Object
  • Constructor Details

    • ExtensionStore

      public ExtensionStore()
  • Method Details

    • get

      public BetterTeamsExtension get(String name, boolean enabled)
    • getLoadOrder

      public List<String> getLoadOrder()
    • getAll

      public Collection<ExtensionWrapper> getAll()
    • size

      public int size()
    • isEmpty

      public boolean isEmpty()
    • getByState

      public List<BetterTeamsExtension> getByState(boolean enabled)
      Gets a list of extension instances based on their enabled state.
      Parameters:
      enabled - true for enabled extensions, false for disabled (or not-yet-enabled) extensions.
      Returns:
      A read-only list of matching extension instances.
    • getWrappersByState

      public List<ExtensionWrapper> getWrappersByState(boolean enabled)
      Gets a list of extension wrappers based on their enabled state.
      Parameters:
      enabled - true for enabled wrappers, false for disabled (or not-yet-enabled) wrappers.
      Returns:
      A read-only list of matching extension wrappers.