Enum LombokConfig
- java.lang.Object
-
- java.lang.Enum<LombokConfig>
-
- pro.chenggang.project.reactive.mybatis.support.generator.option.LombokConfig
-
- All Implemented Interfaces:
Serializable,Comparable<LombokConfig>
public enum LombokConfig extends Enum<LombokConfig>
The enum Lombok config.- Version:
- 1.0.0
- Author:
- Gang Cheng
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AccessorsChainAccessors chainAccessorsFluentAccessors fluentAllArgsConstructorAllArgsConstructorBuilderBuilderDataDataEqualsAndHashCodeEqualsAndHashCodeGetterGetterNoArgsConstructorNoArgsConstructorSetterSetterToStringToString
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LombokConfigvalueOf(String name)Returns the enum constant of this type with the specified name.static LombokConfig[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Data
public static final LombokConfig Data
Data
-
Getter
public static final LombokConfig Getter
Getter
-
Setter
public static final LombokConfig Setter
Setter
-
ToString
public static final LombokConfig ToString
ToString
-
AccessorsChain
public static final LombokConfig AccessorsChain
Accessors chain
-
AccessorsFluent
public static final LombokConfig AccessorsFluent
Accessors fluent
-
NoArgsConstructor
public static final LombokConfig NoArgsConstructor
NoArgsConstructor
-
AllArgsConstructor
public static final LombokConfig AllArgsConstructor
AllArgsConstructor
-
Builder
public static final LombokConfig Builder
Builder
-
EqualsAndHashCode
public static final LombokConfig EqualsAndHashCode
EqualsAndHashCode
-
-
Method Detail
-
values
public static LombokConfig[] 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 (LombokConfig c : LombokConfig.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LombokConfig valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-