Enum BuildableType.MergeBuilderMethod
- java.lang.Object
-
- java.lang.Enum<BuildableType.MergeBuilderMethod>
-
- org.inferred.freebuilder.processor.BuildableType.MergeBuilderMethod
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BuildableType.MergeBuilderMethod>
- Enclosing class:
- BuildableType
public static enum BuildableType.MergeBuilderMethod extends java.lang.Enum<BuildableType.MergeBuilderMethod>
How to merge the values from one Builder into another.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUILD_PARTIAL_AND_MERGEMERGE_DIRECTLY
-
Constructor Summary
Constructors Modifier Constructor Description privateMergeBuilderMethod()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BuildableType.MergeBuilderMethodvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static BuildableType.MergeBuilderMethod[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MERGE_DIRECTLY
public static final BuildableType.MergeBuilderMethod MERGE_DIRECTLY
-
BUILD_PARTIAL_AND_MERGE
public static final BuildableType.MergeBuilderMethod BUILD_PARTIAL_AND_MERGE
-
-
Method Detail
-
values
public static BuildableType.MergeBuilderMethod[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BuildableType.MergeBuilderMethod c : BuildableType.MergeBuilderMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BuildableType.MergeBuilderMethod 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 namejava.lang.NullPointerException- if the argument is null
-
-