Enum StringProperty
- java.lang.Object
-
- java.lang.Enum<StringProperty>
-
- com.ss.android.ugc.bytex.common.configuration.StringProperty
-
- All Implemented Interfaces:
Property<java.lang.String>,java.io.Serializable,java.lang.Comparable<StringProperty>
public enum StringProperty extends java.lang.Enum<StringProperty> implements Property<java.lang.String>
Created by tanlehua on 2019/4/23.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASM_APIEXCEPTION_IGNORE_LISTGLOBAL_IGNORE_LIST
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDefaultValue()java.lang.StringgetPropertyName()java.lang.Stringparse(java.lang.Object value)java.lang.Stringvalue()static StringPropertyvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static StringProperty[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXCEPTION_IGNORE_LIST
public static final StringProperty EXCEPTION_IGNORE_LIST
-
GLOBAL_IGNORE_LIST
public static final StringProperty GLOBAL_IGNORE_LIST
-
ASM_API
public static final StringProperty ASM_API
-
-
Method Detail
-
values
public static StringProperty[] 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 (StringProperty c : StringProperty.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StringProperty 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
-
getPropertyName
public java.lang.String getPropertyName()
- Specified by:
getPropertyNamein interfaceProperty<java.lang.String>
-
getDefaultValue
public java.lang.String getDefaultValue()
- Specified by:
getDefaultValuein interfaceProperty<java.lang.String>
-
-