BrushOperationSetting

public class BrushOperationSetting

Class BrushOperationSetting. Provides brushoperationsetting functionality for the Hytale server.

java.lang.Object > BrushOperationSetting

Field Summary

input

private String input

Field input.

value

private T value

Field value.

parseResult

final ParseResult parseResult

Field parseResult.

newValue

final T newValue

Field newValue.

Method Detail

BrushOperationSetting

public public BrushOperationSetting (final String name, final String description, final T defaultValue, final ArgumentType argumentType)

Method BrushOperationSetting.

Parameters:
final String name
final String description
final T defaultValue
final ArgumentType argumentType

setValue

public BrushOperationSetting setValue (final T value)

Method setValue.

Parameters:
final T value

setValueUnsafe

public BrushOperationSetting setValueUnsafe (final String input, final Object value)

Method setValueUnsafe.

Parameters:
final String input
final Object value

parseAndSetValue

public ParseResult parseAndSetValue (final String[] input)

Method parseAndSetValue.

Parameters:
final String[] input

getInput

public String getInput ()

Method getInput.

getName

public String getName ()

Method getName.

getDescription

public String getDescription ()

Method getDescription.

getDefaultValue

public T getDefaultValue ()

Method getDefaultValue.

getArgumentType

public ArgumentType getArgumentType ()

Method getArgumentType.

getValueValidator

public Validator getValueValidator ()

Method getValueValidator.

getValue

public T getValue ()

Method getValue.

getValueString

public String getValueString ()

Method getValueString.