Package com.github.mafelp.utils.Enums
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
Start indicates it is initialising the wizard. -
TITLE
It indicates that it is waiting for input on the title. -
CONTENT
It indicates that it is waiting for input on the content. -
IMAGE
It indicates that it is waiting for input on an image link. -
FINISHED
It indicates that it is finished and now cleaning up. -
CANCELLED
It indicates that the user cancelled the wizard and it is now cleaning up.
-
-
Constructor Details
-
PresentBuilderState
private PresentBuilderState()
-
-
Method Details
-
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
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 namejava.lang.NullPointerException
- if the argument is null
-