Top Fields Constructors Methods
com.mysql.cj.conf

public Class StringPropertyDefinition

extends AbstractPropertyDefinition<String>
Class Inheritance
Imports
com.mysql.cj.exceptions.ExceptionInterceptor

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
StringPropertyDefinition(String name, String alias, String defaultValue, boolean isRuntimeModifiable, String description, String sinceVersion, String category, int orderInCategory)

public
StringPropertyDefinition(PropertyKey key, String defaultValue, boolean isRuntimeModifiable, String description, String sinceVersion, String category, int orderInCategory)

Method Summary

Modifier and TypeMethod and Description
public RuntimeProperty<String>

Returns:

RuntimeProperty
createRuntimeProperty
()

Implements com.mysql.cj.conf.PropertyDefinition.createRuntimeProperty.

Creates instance of ReadableStringProperty or ModifiableStringProperty depending on isRuntimeModifiable() result.

public String
parseObject(String
value
value
,
ExceptionInterceptor
exception interceptor
exceptionInterceptor
)

Implements abstract com.mysql.cj.conf.AbstractPropertyDefinition.parseObject.

Implements com.mysql.cj.conf.PropertyDefinition.parseObject.

Returns the value object parsed from it's string representation and checked against allowable values.

Inherited from com.mysql.cj.conf.AbstractPropertyDefinition:
getAllowableValuesgetCategorygetCcAliasgetDefaultValuegetDescriptiongetLowerBoundgetNamegetOrdergetPropertyKeygetSinceVersiongetUpperBoundhasCcAliashasValueConstraintsisRangeBasedisRuntimeModifiablesetCategorysetDefaultValuesetDescriptionsetLowerBoundsetOrdersetRuntimeModifiablesetSinceVersionsetUpperBound

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides com.mysql.cj.conf.AbstractPropertyDefinition.serialVersionUID.

Constructor Detail

StringPropertyDefinitionback to summary
public StringPropertyDefinition(String name, String alias, String defaultValue, boolean isRuntimeModifiable, String description, String sinceVersion, String category, int orderInCategory)
StringPropertyDefinitionback to summary
public StringPropertyDefinition(PropertyKey key, String defaultValue, boolean isRuntimeModifiable, String description, String sinceVersion, String category, int orderInCategory)

Method Detail

createRuntimePropertyback to summary
public RuntimeProperty<String> createRuntimeProperty()

Implements com.mysql.cj.conf.PropertyDefinition.createRuntimeProperty.

Creates instance of ReadableStringProperty or ModifiableStringProperty depending on isRuntimeModifiable() result.

Returns:RuntimeProperty<String>

RuntimeProperty

Annotations
@Override
parseObjectback to summary
public String parseObject(String value, ExceptionInterceptor exceptionInterceptor)

Implements abstract com.mysql.cj.conf.AbstractPropertyDefinition.parseObject.

Implements com.mysql.cj.conf.PropertyDefinition.parseObject.

Doc from com.mysql.cj.conf.PropertyDefinition.parseObject.

Returns the value object parsed from it's string representation and checked against allowable values.

Parameters
value:String

value

exceptionInterceptor:ExceptionInterceptor

exception interceptor

Returns:String

the value object

Annotations
@Override