Class PlatformUtils
java.lang.Object
me.devnatan.inventoryframework.internal.PlatformUtils
Utility class to define which ViewComponentFactory will be used for the current platform.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull me.devnatan.inventoryframework.internal.ElementFactorystatic voidstatic voidsetFactory(@NotNull me.devnatan.inventoryframework.internal.ElementFactory factory)
-
Constructor Details
-
PlatformUtils
public PlatformUtils()
-
-
Method Details
-
getFactory
@NotNull public static @NotNull me.devnatan.inventoryframework.internal.ElementFactory getFactory() -
setFactory
@Internal public static void setFactory(@NotNull @NotNull me.devnatan.inventoryframework.internal.ElementFactory factory) -
removeFactory
@TestOnly public static void removeFactory()
-