Enum PresentBuilderState

java.lang.Object
java.lang.Enum<PresentBuilderState>
com.github.mafelp.utils.Enums.PresentBuilderState
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PresentBuilderState>, java.lang.constant.Constable

public enum PresentBuilderState
extends java.lang.Enum<PresentBuilderState>
The State the present builder can be in.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant Description
    CANCELLED
    It indicates that the user cancelled the wizard and it is now cleaning up.
    CONTENT
    It indicates that it is waiting for input on the content.
    FINISHED
    It indicates that it is finished and now cleaning up.
    IMAGE
    It indicates that it is waiting for input on an image link.
    START
    Start indicates it is initialising the wizard.
    TITLE
    It indicates that it is waiting for input on the title.
  • Constructor Summary

    Constructors
    Modifier Constructor Description
    private PresentBuilderState()  
  • Method Summary

    Modifier and Type Method Description
    static PresentBuilderState valueOf​(java.lang.String name)
    Returns the enum constant of this type with the specified name.
    static PresentBuilderState[] values()
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • START

      public static final PresentBuilderState START
      Start indicates it is initialising the wizard.
    • TITLE

      public static final PresentBuilderState TITLE
      It indicates that it is waiting for input on the title.
    • CONTENT

      public static final PresentBuilderState CONTENT
      It indicates that it is waiting for input on the content.
    • IMAGE

      public static final PresentBuilderState IMAGE
      It indicates that it is waiting for input on an image link.
    • FINISHED

      public static final PresentBuilderState FINISHED
      It indicates that it is finished and now cleaning up.
    • CANCELLED

      public static final PresentBuilderState CANCELLED
      It indicates that the user cancelled the wizard and it is now cleaning up.
  • Constructor Details

    • PresentBuilderState

      private PresentBuilderState()
  • Method Details

    • values

      public static PresentBuilderState[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static PresentBuilderState valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
      java.lang.NullPointerException - if the argument is null