/*
 * This file is part of ComputerCraft - http://www.computercraft.info
 * Copyright Daniel Ratcliffe, 2011-2022. Do not distribute without permission.
 * Send enquiries to dratcliffe@gmail.com
 */
package dan200.computercraft.shared.peripheral.diskdrive;

import net.minecraft.util.IStringSerializable;

import javax.annotation.Nonnull;

public enum DiskDriveState implements IStringSerializable
{
    EMPTY( "empty" ),
    FULL( "full" ),
    INVALID( "invalid" );

    private final String name;

    DiskDriveState( String name )
    {
        this.name = name;
    }

    @Override
    @Nonnull
    public String getSerializedName()
    {
        return name;
    }
}
