BrightSide Workbench Full Report + Source Code
IssueType.java
Go to the documentation of this file.
1 /*
2  * TurrĂ³ i Cutiller Foundation. License notice.
3  * Copyright (C) 2011 Lluis TurrĂ³ Cutiller <http://www.turro.org/>
4  *
5  * This program is free software: you can redistribute it and/or modify
6  * it under the terms of the GNU Affero General Public License as published by
7  * the Free Software Foundation, either version 3 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU Affero General Public License for more details.
14  *
15  * You should have received a copy of the GNU Affero General Public License
16  * along with this program. If not, see <http://www.gnu.org/licenses/>.
17  */
18 package org.turro.dossier.entity;
19 
24 public enum IssueType {
25 
26  TYPE_NONCONFORMITY(1, "bordered inverted red exclamation"),
27  TYPE_DEFECT(2, "bordered inverted orange circle"),
28  TYPE_ENHANCEMENT(4, "bordered inverted green arrow up"),
29  TYPE_FEATURE(5, "bordered inverted green plus"),
30  TYPE_TASK(6, "bordered inverted blue tools"),
31  TYPE_PATCH(7, "bordered inverted olive hammer"),
32  TYPE_QUESTION(8, "bordered inverted blue question"),
33  TYPE_PREVENTION(3, "bordered inverted orange briefcase medical"),
34  TYPE_DOCUMENT(9, "bordered inverted grey file outline"),
35  TYPE_BESTPRACTICE(10, "bordered inverted blue thumbs up"),
36  TYPE_PROCESS(11, "bordered inverted blue cogs"),
37  TYPE_PROPOSITION(12, "bordered inverted blue arrow right");
38 
39  private final int priority;
40  private final String icon;
41 
42  private IssueType(int priority, String icon) {
43  this.priority = priority;
44  this.icon = icon;
45  }
46 
47  public int getPriority() {
48  return priority;
49  }
50 
51  public String getIcon() {
52  return icon;
53  }
54 
55 }