public static enum ThriftServiceDecoratorConfiguration.LanguageType extends java.lang.Enum<ThriftServiceDecoratorConfiguration.LanguageType>
| 限定符和类型 | 字段和说明 |
|---|---|
java.lang.String |
postfix
模板根文件夹名结尾
|
| 限定符和类型 | 方法和说明 |
|---|---|
CodeWriter |
getCodeWriter(java.io.File outputFolder)
返回对应的
CodeWriter实例 |
static ThriftServiceDecoratorConfiguration.LanguageType |
getCurrent() |
static void |
setCurrent(ThriftServiceDecoratorConfiguration.LanguageType current) |
static ThriftServiceDecoratorConfiguration.LanguageType |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static ThriftServiceDecoratorConfiguration.LanguageType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final ThriftServiceDecoratorConfiguration.LanguageType JAVA
public static final ThriftServiceDecoratorConfiguration.LanguageType CPP
public static final ThriftServiceDecoratorConfiguration.LanguageType C_GLIB
public final java.lang.String postfix
public static ThriftServiceDecoratorConfiguration.LanguageType[] values()
for (ThriftServiceDecoratorConfiguration.LanguageType c : ThriftServiceDecoratorConfiguration.LanguageType.values()) System.out.println(c);
public static ThriftServiceDecoratorConfiguration.LanguageType valueOf(java.lang.String name)
name - 要返回的枚举常量的名称。java.lang.IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量,
则抛出 IllegalArgumentExceptionjava.lang.NullPointerException - 如果参数为空值, 则抛出 NullPointerExceptionpublic CodeWriter getCodeWriter(java.io.File outputFolder)
CodeWriter实例public static ThriftServiceDecoratorConfiguration.LanguageType getCurrent()
public static void setCurrent(ThriftServiceDecoratorConfiguration.LanguageType current)
Copyright © 2019. All Rights Reserved.