/**
 * Copyright (c) 2015-2017 by the respective copyright holders.
 *
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 */
package org.openhab.core.library.types;

import org.openhab.core.types.Command;
import org.openhab.core.types.PrimitiveType;

/**
 *
 * @author Kai Kreuzer - Initial contribution
 */
public enum StopMoveType implements PrimitiveType, Command {
    STOP,
    MOVE;

    @Override
    public String format(String pattern) {
        return String.format(pattern, this.toString());
    }

}
