Interface ListMaker<T>

  • Type Parameters:
    T - The kind of input they need.

    public interface ListMaker<T>
    The type of things that can make lists.
    Author:
    Alex Kalderimis
    • Method Detail

      • getInput

        T getInput()
        Returns:
        The input.
      • makeList

        void makeList​(T input,
                      java.lang.String type,
                      Profile profile,
                      java.util.Set<java.lang.String> temporaryBagNamesAccumulator)
               throws java.lang.Exception
        Make the list requested by the user.
        Parameters:
        input - The parsed parameter input.
        type - The type of the new list.
        profile - The profile to save the list in.
        temporaryBagNamesAccumulator - The accumulator to store the list of bags to delete.
        Throws:
        java.lang.Exception - If something goes wrong.