Class CustomEventContainerCreator

java.lang.Object
de.presti.ree6.actions.customevents.container.CustomEventContainerCreator

public class CustomEventContainerCreator extends Object
A Utility class used to create CustomEventContainers.
  • Constructor Details

    • CustomEventContainerCreator

      public CustomEventContainerCreator()
      Constructor should not be called, since it is a utility class that doesn't need an instance.
  • Method Details

    • loadAll

      public static void loadAll()
      Load all actions.
    • getAction

      public static Class<? extends IEventAction> getAction(String action)
      Get the Class of a StreamAction.
      Parameters:
      action - The Name of the Action.
      Returns:
      The Class of the Action.
    • getContainers

      public static List<CustomEventContainer> getContainers(de.presti.ree6.sql.entities.custom.CustomEventTyp typ)
      Get all CustomEventContainer.
      Parameters:
      typ - The typ of the CustomEventAction.
      Returns:
      A List of CustomEventContainer.
    • getContainers

      public static List<CustomEventContainer> getContainers(String guildId, de.presti.ree6.sql.entities.custom.CustomEventTyp typ)
      Get all CustomEventContainer.
      Parameters:
      guildId - The related Guild.
      typ - The typ of the CustomEventAction.
      Returns:
      A List of CustomEventContainer.