Class ImportSystem
- java.lang.Object
-
- com.djrapitops.plan.gathering.importing.ImportSystem
-
-
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 subsystemvoid
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)
-
-
-
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.
-
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()
-
-