Package com.nexomc.nexo.pack.server
Object PackServerRegistry
-
- All Implemented Interfaces:
public class PackServerRegistry
-
-
Field Summary
Fields Modifier and Type Field Description private final Set<String>
allRegisteredTypes
public final static PackServerRegistry
INSTANCE
-
Method Summary
Modifier and Type Method Description final Unit
register(String type, Function0<NexoPackServer> factory)
final NexoPackServer
create(String type)
final Set<String>
getAllRegisteredTypes()
-
-
Method Detail
-
register
final Unit register(String type, Function0<NexoPackServer> factory)
-
create
final NexoPackServer create(String type)
-
getAllRegisteredTypes
final Set<String> getAllRegisteredTypes()
-
-
-
-