Top Inners Fields Constructors Methods
com.mysql.cj.conf

public Class BooleanPropertyDefinition

extends AbstractPropertyDefinition<Boolean>
Class Inheritance
Imports
java.util.Arrays, com.mysql.cj.Messages, com.mysql.cj.exceptions.ExceptionFactory, .ExceptionInterceptor, com.mysql.cj.util.StringUtils

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static enum

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
BooleanPropertyDefinition(PropertyKey key, Boolean defaultValue, boolean isRuntimeModifiable, String description, String sinceVersion, String category, int orderInCategory)

Method Summary

Modifier and TypeMethod and Description
public static Boolean
booleanFrom(String name, String value, ExceptionInterceptor exceptionInterceptor)

public RuntimeProperty<Boolean>

Returns:

RuntimeProperty
createRuntimeProperty
()

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

Creates instance of BooleanProperty.

public String[]
public static String[]
public Boolean
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:
getCategorygetCcAliasgetDefaultValuegetDescriptiongetLowerBoundgetNamegetOrdergetPropertyKeygetSinceVersiongetUpperBoundhasCcAliashasValueConstraintsisRangeBasedisRuntimeModifiablesetCategorysetDefaultValuesetDescriptionsetLowerBoundsetOrdersetRuntimeModifiablesetSinceVersionsetUpperBound

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

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

Constructor Detail

BooleanPropertyDefinitionback to summary
public BooleanPropertyDefinition(PropertyKey key, Boolean defaultValue, boolean isRuntimeModifiable, String description, String sinceVersion, String category, int orderInCategory)

Method Detail

booleanFromback to summary
public static Boolean booleanFrom(String name, String value, ExceptionInterceptor exceptionInterceptor)
createRuntimePropertyback to summary
public RuntimeProperty<Boolean> createRuntimeProperty()

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

Creates instance of BooleanProperty.

Returns:RuntimeProperty<Boolean>

RuntimeProperty

Annotations
@Override
getAllowableValuesback to summary
public String[] getAllowableValues()

Overrides com.mysql.cj.conf.AbstractPropertyDefinition.getAllowableValues.

Implements com.mysql.cj.conf.PropertyDefinition.getAllowableValues.

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

Returns the list of allowable values.

Returns:String[]

the list of allowable values

Annotations
@Override
getBooleanAllowableValuesback to summary
public static String[] getBooleanAllowableValues()
parseObjectback to summary
public Boolean 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:Boolean

the value object

Annotations
@Override
com.mysql.cj.conf back to summary

public final Enum BooleanPropertyDefinition.AllowableValues

extends Enum<BooleanPropertyDefinition.AllowableValues>
Class Inheritance

Field Summary

Modifier and TypeField and Description
private boolean
public static final BooleanPropertyDefinition.AllowableValues
public static final BooleanPropertyDefinition.AllowableValues
public static final BooleanPropertyDefinition.AllowableValues
public static final BooleanPropertyDefinition.AllowableValues

Constructor Summary

AccessConstructor and Description
private
AllowableValues(boolean booleanValue)

Method Summary

Modifier and TypeMethod and Description
public boolean
public static BooleanPropertyDefinition.AllowableValues
public static BooleanPropertyDefinition.AllowableValues[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

asBooleanback to summary
private boolean asBoolean
FALSEback to summary
public static final BooleanPropertyDefinition.AllowableValues FALSE
NOback to summary
public static final BooleanPropertyDefinition.AllowableValues NO
TRUEback to summary
public static final BooleanPropertyDefinition.AllowableValues TRUE
YESback to summary
public static final BooleanPropertyDefinition.AllowableValues YES

Constructor Detail

AllowableValuesback to summary
private AllowableValues(boolean booleanValue)

Method Detail

asBooleanback to summary
public boolean asBoolean()
valueOfback to summary
public static BooleanPropertyDefinition.AllowableValues valueOf(String name)
valuesback to summary
public static BooleanPropertyDefinition.AllowableValues[] values()