Class FlagValueImpl

java.lang.Object
sawfowl.regionguard.implementsapi.data.FlagValueImpl
All Implemented Interfaces:
org.spongepowered.api.data.persistence.DataSerializable, FlagValue

public class FlagValueImpl extends Object implements FlagValue
  • Constructor Details

    • FlagValueImpl

      public FlagValueImpl()
  • Method Details

    • builder

      public FlagValue.Builder builder()
    • getSource

      public String getSource()
      Description copied from interface: FlagValue
      Initiator of the event.
      Specified by:
      getSource in interface FlagValue
    • getTarget

      public String getTarget()
      Description copied from interface: FlagValue
      Event target.
      Specified by:
      getTarget in interface FlagValue
    • getValue

      public boolean getValue()
      Description copied from interface: FlagValue
      Value of the flag.
      Specified by:
      getValue in interface FlagValue
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • contentVersion

      public int contentVersion()
      Specified by:
      contentVersion in interface org.spongepowered.api.data.persistence.DataSerializable
    • toContainer

      public org.spongepowered.api.data.persistence.DataContainer toContainer()
      Specified by:
      toContainer in interface org.spongepowered.api.data.persistence.DataSerializable