Package gaiasky.util

Class CatalogManager

java.lang.Object
gaiasky.util.CatalogManager
All Implemented Interfaces:
IObserver

public class CatalogManager extends Object implements IObserver
  • Constructor Details

    • CatalogManager

      public CatalogManager()
  • Method Details

    • getCatalogInfos

      public Collection<CatalogInfo> getCatalogInfos()
    • contains

      public boolean contains(String dsName)
    • get

      public CatalogInfo get(String dsName)
      Gets the CatalogInfo with the given name, if any.
      Parameters:
      dsName - The name of the dataset.
      Returns:
      The CatalogInfo object, null if it does not exist.
    • getDatasetNames

      public Set<String> getDatasetNames()
    • getByEntity

      public Optional<CatalogInfo> getByEntity(com.badlogic.ashley.core.Entity entity)
    • notify

      public void notify(Event event, Object source, Object... data)
      Description copied from interface: IObserver
      Event notification call.
      Specified by:
      notify in interface IObserver
      Parameters:
      event - The event type.
      source - The source object, if any.
      data - The data associated with this event.