BuilderValueToParameterMapping

public class BuilderValueToParameterMapping extends BuilderBase

Class BuilderValueToParameterMapping. Provides buildervaluetoparametermapping functionality for the Hytale server.

java.lang.Object > BuilderBase > BuilderValueToParameterMapping

Field Summary

type

protected ValueStore.Type type

Field type.

fromValue

protected String fromValue

Field fromValue.

fromSlot

protected ToIntFunction fromSlot

Field fromSlot.

toParameter

protected String toParameter

Field toParameter.

fromValueSlot

private int fromValueSlot

Field fromValueSlot.

toParameterSlot

private int toParameterSlot

Field toParameterSlot.

toParameterSlotName

private String toParameterSlotName

Field toParameterSlotName.

Method Detail

getShortDescription

public String getShortDescription ()

Method getShortDescription.

getLongDescription

public String getLongDescription ()

Method getLongDescription.

build

public ValueToParameterMapping build (final BuilderSupport builderSupport)

Method build.

Parameters:
final BuilderSupport builderSupport

category

public Class category ()

Method category.

getBuilderDescriptorState

public BuilderDescriptorState getBuilderDescriptorState ()

Method getBuilderDescriptorState.

isEnabled

public boolean isEnabled (final ExecutionContext context)

Method isEnabled.

Parameters:
final ExecutionContext context

readConfig

public Builder readConfig (@Nonnull final JsonElement data)

Method readConfig.

Parameters:
@Nonnull final JsonElement data

getType

public ValueStore.Type getType ()

Method getType.

getFromSlot

public int getFromSlot (final BuilderSupport support)

Method getFromSlot.

Parameters:
final BuilderSupport support

getToParameter

public String getToParameter ()

Method getToParameter.

getFromValueSlot

public int getFromValueSlot ()

Method getFromValueSlot.

getToParameterSlot

public int getToParameterSlot ()

Method getToParameterSlot.

getToParameterSlotName

public String getToParameterSlotName ()

Method getToParameterSlotName.