view src/main/java/org/icedrobot/ika/plugins/scm/PatchQueueOption.java @ 18:9c7b23248996

Add new plugins to handle guilt patch queue.
author Mario Torre <neugens.limasoftware@gmail.com>
date Tue, 05 Apr 2011 23:03:18 +0200
parents
children
line wrap: on
line source

/*
 * IKA - IcedRobot Kiosk Application
 * Copyright (C) 2011  IcedRobot team
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

package org.icedrobot.ika.plugins.scm;

enum PatchQueueOption {

    FORCE("f", "force the execution of the command"),
    ALL("all", "apply all"),
    HELP("help", "display a short help");

    final private String option;
    final private String description;

    PatchQueueOption(String option, String description) {
        this.option = option;
        this.description = description;
    }

    public String getOption() {
        return option;
    }

    public String getDescription() {
        return description;
    }
}