Class ImportSystem

  • All Implemented Interfaces:
    SubSystem

    @Singleton
    public class ImportSystem
    extends java.lang.Object
    implements SubSystem
    Abstract representation of an ImportSystem.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.Map<java.lang.String,​Importer> importers  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ImportSystem​(java.util.Set<Importer> importers)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void disable()
      Performs disable actions for the subsystem
      void enable()
      Performs enable actions for the subsystem.
      java.util.Optional<Importer> getImporter​(java.lang.String name)  
      java.util.List<java.lang.String> getImporterNames()  
      void registerImporter​(Importer importer)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • importers

        protected final java.util.Map<java.lang.String,​Importer> importers
    • Constructor Detail

      • ImportSystem

        @Inject
        protected ImportSystem​(java.util.Set<Importer> importers)
    • Method Detail

      • enable

        public void enable()
        Description copied from interface: SubSystem
        Performs enable actions for the subsystem.
        Specified by:
        enable in interface SubSystem
      • registerImporter

        public void registerImporter​(Importer importer)
      • getImporter

        public java.util.Optional<Importer> getImporter​(java.lang.String name)
      • getImporterNames

        public java.util.List<java.lang.String> getImporterNames()
      • disable

        public void disable()
        Description copied from interface: SubSystem
        Performs disable actions for the subsystem
        Specified by:
        disable in interface SubSystem