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