<commit_before>/*
 * This file is part of LibrePlan
 *
 * Copyright (C) 2009-2010 Fundación para o Fomento da Calidade Industrial e
 *                         Desenvolvemento Tecnolóxico de Galicia
 * Copyright (C) 2010-2011 Igalia, S.L.
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero 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 Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

package org.libreplan.business.orders.entities;

import static org.libreplan.business.i18n.I18nHelper._;


/**
 * @author <NAME> <<EMAIL>>
 */

public enum OrderStatusEnum {

    OFFERED(_("OFFERED")), ACCEPTED(_("ACCEPTED")), STARTED(_("STARTED")), FINISHED(
            _("FINISHED")), CANCELLED(_("CANCELLED")), SUBCONTRACTED_PENDING_ORDER(
            _("SUBCONTRACTED PENDING PROJECT")), STORED(_("STORED"));

    private String description;

    private OrderStatusEnum(String description) {
        this.description = description;
    }

    public String toString() {
        return this.description;
    }

    public static OrderStatusEnum getDefault() {
        return OFFERED;
    }
}
<commit_msg>Add new status in OrderStatusEnum: PRE-SALES and ON HOLD<commit_after>/*
 * This file is part of LibrePlan
 *
 * Copyright (C) 2009-2010 Fundación para o Fomento da Calidade Industrial e
 *                         Desenvolvemento Tecnolóxico de Galicia
 * Copyright (C) 2010-2012 Igalia, S.L.
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero 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 Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

package org.libreplan.business.orders.entities;

import static org.libreplan.business.i18n.I18nHelper._;


/**
 * @author <NAME> <<EMAIL>>
 * @author <NAME> <<EMAIL>>
 */
public enum OrderStatusEnum {

    PRE_SALES(_("PRE-SALES")),
    OFFERED(_("OFFERED")),
    SUBCONTRACTED_PENDING_ORDER(_("SUBCONTRACTED PENDING ORDER")),
    ACCEPTED(_("ACCEPTED")),
    STARTED(_("STARTED")),
    ON_HOLD(_("ON HOLD")),
    FINISHED(_("FINISHED")),
    CANCELLED(_("CANCELLED")),
    STORED(_("STORED"));

    private String description;

    private OrderStatusEnum(String description) {
        this.description = description;
    }

    public String toString() {
        return this.description;
    }

    public static OrderStatusEnum getDefault() {
        return OFFERED;
    }
}

{'fraction_non_alphanumeric': 0.09709026128266034, 'fraction_numerical': 0.012470308788598575, 'mean_word_length': 3.421259842519685, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 14, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7396451', 'n_tokens_mistral': 1028, 'n_tokens_neox': 973, 'n_words': 352}