Class CloseRunRegistry

java.lang.Object
net.minheur.potoflux.actionRuns.regs.CloseRunRegistry
All Implemented Interfaces:
IRegistry<ActionRun>

public class CloseRunRegistry extends Object implements IRegistry<ActionRun>
The main registry for all close action runs
  • Constructor Details

    • CloseRunRegistry

      public CloseRunRegistry()
  • Method Details

    • getAll

      public static Collection<ActionRun> getAll()
      Gets all action runs
      Returns:
      the close action runs
    • add

      public ActionRun add(ActionRun item)
      Adds an action run to the on close actions
      Specified by:
      add in interface IRegistry<ActionRun>
      Parameters:
      item - action run to add to the reg
      Returns:
      the added action run