public class ImmutableSpongeCommandData extends AbstractImmutableData<org.spongepowered.api.data.manipulator.immutable.ImmutableCommandData,org.spongepowered.api.data.manipulator.mutable.CommandData> implements org.spongepowered.api.data.manipulator.immutable.ImmutableCommandData
Constructor and Description |
---|
ImmutableSpongeCommandData(String storedCommand,
int success,
boolean tracks,
org.spongepowered.api.text.Text lastOutput) |
Modifier and Type | Method and Description |
---|---|
org.spongepowered.api.data.manipulator.mutable.CommandData |
asMutable() |
int |
compareTo(org.spongepowered.api.data.manipulator.immutable.ImmutableCommandData o) |
org.spongepowered.api.data.manipulator.immutable.ImmutableCommandData |
copy() |
org.spongepowered.api.data.value.immutable.ImmutableValue<Boolean> |
doesTrackOutput() |
org.spongepowered.api.data.value.immutable.ImmutableOptionalValue<org.spongepowered.api.text.Text> |
lastOutput() |
protected void |
registerGetters() |
org.spongepowered.api.data.value.immutable.ImmutableValue<String> |
storedCommand() |
org.spongepowered.api.data.value.immutable.ImmutableValue<Integer> |
successCount() |
org.spongepowered.api.data.DataContainer |
toContainer() |
equals, get, getKeys, getOrElse, getOrNull, getValue, getValues, hashCode, registerFieldGetter, registerKeyValue, supports, supports, with, with
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
public ImmutableSpongeCommandData(String storedCommand, int success, boolean tracks, org.spongepowered.api.text.Text lastOutput)
public org.spongepowered.api.data.value.immutable.ImmutableValue<String> storedCommand()
storedCommand
in interface org.spongepowered.api.data.manipulator.immutable.ImmutableCommandData
public org.spongepowered.api.data.value.immutable.ImmutableValue<Integer> successCount()
successCount
in interface org.spongepowered.api.data.manipulator.immutable.ImmutableCommandData
public org.spongepowered.api.data.value.immutable.ImmutableValue<Boolean> doesTrackOutput()
doesTrackOutput
in interface org.spongepowered.api.data.manipulator.immutable.ImmutableCommandData
public org.spongepowered.api.data.value.immutable.ImmutableOptionalValue<org.spongepowered.api.text.Text> lastOutput()
lastOutput
in interface org.spongepowered.api.data.manipulator.immutable.ImmutableCommandData
public org.spongepowered.api.data.manipulator.immutable.ImmutableCommandData copy()
copy
in interface org.spongepowered.api.data.manipulator.ImmutableDataManipulator<org.spongepowered.api.data.manipulator.immutable.ImmutableCommandData,org.spongepowered.api.data.manipulator.mutable.CommandData>
copy
in interface org.spongepowered.api.data.value.ValueContainer<org.spongepowered.api.data.manipulator.immutable.ImmutableCommandData>
public org.spongepowered.api.data.manipulator.mutable.CommandData asMutable()
asMutable
in interface org.spongepowered.api.data.manipulator.ImmutableDataManipulator<org.spongepowered.api.data.manipulator.immutable.ImmutableCommandData,org.spongepowered.api.data.manipulator.mutable.CommandData>
public org.spongepowered.api.data.DataContainer toContainer()
toContainer
in interface org.spongepowered.api.data.DataSerializable
public int compareTo(org.spongepowered.api.data.manipulator.immutable.ImmutableCommandData o)
compareTo
in interface Comparable<org.spongepowered.api.data.manipulator.immutable.ImmutableCommandData>
protected void registerGetters()
registerGetters
in class AbstractImmutableData<org.spongepowered.api.data.manipulator.immutable.ImmutableCommandData,org.spongepowered.api.data.manipulator.mutable.CommandData>