Class CustomEventContainerCreator
java.lang.Object
de.presti.ree6.actions.customevents.container.CustomEventContainerCreator
A Utility class used to create CustomEventContainers.
-
Constructor Summary
ConstructorDescriptionConstructor should not be called, since it is a utility class that doesn't need an instance. -
Method Summary
Modifier and TypeMethodDescriptionstatic Class<? extends IEventAction>
Get the Class of a StreamAction.static List<CustomEventContainer>
getContainers
(de.presti.ree6.sql.entities.custom.CustomEventTyp typ) Get all CustomEventContainer.static List<CustomEventContainer>
getContainers
(String guildId, de.presti.ree6.sql.entities.custom.CustomEventTyp typ) Get all CustomEventContainer.static void
loadAll()
Load all actions.
-
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
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.
-