2 * Copyright (C) 2016 - 2022 Free Software Foundation
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 package org.mxchange.jjobs.model.skill.status;
20 * An enumeration for skills
22 * @author Roland Häder<roland@mxchange.org>
24 public enum SkillStatus {
27 * Unlocked (added, can be used)
29 UNLOCKED("SKILL_STATUS_UNLOCKED", "skill_status_unlocked"), //NOI18N
32 * Locked by administrator
34 LOCKED("SKILL_STATUS_LOCKED", "skill_status_locked"); //NOI18N
37 * Message key for i18n bundles
39 private final String messageKey;
44 private final String styleClass;
47 * Constructor with message key for i18n bundles and CSS class
49 * @param messageKey Message key for i18n bundles
50 * @param styleClass CSS class
52 private SkillStatus (final String messageKey, final String styleClass) {
54 this.messageKey = messageKey;
55 this.styleClass = styleClass;
59 * Getter for message key
63 public String getMessageKey () {
64 return this.messageKey;
72 public String getStyleClass () {
73 return this.styleClass;