Class AbstractPipePart.Value.EnumTagType

java.lang.Object
io.github.apfelcreme.Pipes.Pipe.AbstractPipePart.Value.TagType<String,​Enum>
io.github.apfelcreme.Pipes.Pipe.AbstractPipePart.Value.EnumTagType
All Implemented Interfaces:
org.bukkit.persistence.PersistentDataType<String,​Enum>
Enclosing class:
AbstractPipePart.Value<T>

public static class AbstractPipePart.Value.EnumTagType
extends AbstractPipePart.Value.TagType<String,​Enum>
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.bukkit.persistence.PersistentDataType

    org.bukkit.persistence.PersistentDataType.PrimitivePersistentDataType<T extends Object>
  • Field Summary

    Fields inherited from interface org.bukkit.persistence.PersistentDataType

    BYTE, BYTE_ARRAY, DOUBLE, FLOAT, INTEGER, INTEGER_ARRAY, LONG, LONG_ARRAY, SHORT, STRING, TAG_CONTAINER
  • Constructor Summary

    Constructors 
    Modifier Constructor Description
    protected EnumTagType​(Class<? extends Enum> enumType)  
  • Method Summary

    Modifier and Type Method Description
    Enum fromPrimitive​(String primitive, org.bukkit.persistence.PersistentDataAdapterContext context)  
    String toPrimitive​(Enum complex, org.bukkit.persistence.PersistentDataAdapterContext context)  

    Methods inherited from class io.github.apfelcreme.Pipes.Pipe.AbstractPipePart.Value.TagType

    getComplexType, getPrimitiveType

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • toPrimitive

      public String toPrimitive​(Enum complex, org.bukkit.persistence.PersistentDataAdapterContext context)
    • fromPrimitive

      public Enum fromPrimitive​(String primitive, org.bukkit.persistence.PersistentDataAdapterContext context)