类 BooleanPropertyDefinition
- java.lang.Object
-
- com.mysql.cj.conf.AbstractPropertyDefinition<Boolean>
-
- com.mysql.cj.conf.BooleanPropertyDefinition
-
- 所有已实现的接口:
PropertyDefinition<Boolean>,Serializable
public class BooleanPropertyDefinition extends AbstractPropertyDefinition<Boolean>
- 另请参阅:
- 序列化表格
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classBooleanPropertyDefinition.AllowableValues
-
构造器概要
构造器 构造器 说明 BooleanPropertyDefinition(PropertyKey key, Boolean defaultValue, boolean isRuntimeModifiable, String description, String sinceVersion, String category, int orderInCategory)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static BooleanbooleanFrom(String name, String value, ExceptionInterceptor exceptionInterceptor)RuntimeProperty<Boolean>createRuntimeProperty()Creates instance of BooleanProperty.String[]getAllowableValues()Returns the list of allowable values.static String[]getBooleanAllowableValues()BooleanparseObject(String value, ExceptionInterceptor exceptionInterceptor)Returns the value object parsed from it's string representation and checked against allowable values.-
从类继承的方法 com.mysql.cj.conf.AbstractPropertyDefinition
getCategory, getCcAlias, getDefaultValue, getDescription, getLowerBound, getName, getOrder, getPropertyKey, getSinceVersion, getUpperBound, hasCcAlias, hasValueConstraints, isRangeBased, isRuntimeModifiable, setCategory, setDefaultValue, setDescription, setLowerBound, setOrder, setRuntimeModifiable, setSinceVersion, setUpperBound
-
-
-
-
构造器详细资料
-
BooleanPropertyDefinition
public BooleanPropertyDefinition(PropertyKey key, Boolean defaultValue, boolean isRuntimeModifiable, String description, String sinceVersion, String category, int orderInCategory)
-
-
方法详细资料
-
getAllowableValues
public String[] getAllowableValues()
从接口复制的说明:PropertyDefinitionReturns the list of allowable values.- 指定者:
getAllowableValues在接口中PropertyDefinition<Boolean>- 覆盖:
getAllowableValues在类中AbstractPropertyDefinition<Boolean>- 返回:
- the list of allowable values
-
parseObject
public Boolean parseObject(String value, ExceptionInterceptor exceptionInterceptor)
从接口复制的说明:PropertyDefinitionReturns the value object parsed from it's string representation and checked against allowable values.- 指定者:
parseObject在接口中PropertyDefinition<Boolean>- 指定者:
parseObject在类中AbstractPropertyDefinition<Boolean>- 参数:
value- valueexceptionInterceptor- exception interceptor- 返回:
- the value object
-
createRuntimeProperty
public RuntimeProperty<Boolean> createRuntimeProperty()
Creates instance of BooleanProperty.- 返回:
- RuntimeProperty
-
booleanFrom
public static Boolean booleanFrom(String name, String value, ExceptionInterceptor exceptionInterceptor)
-
getBooleanAllowableValues
public static String[] getBooleanAllowableValues()
-
-