BrightSide Workbench Full Report + Source Code
SecurityGroupType.java
Go to the documentation of this file.
1
/*
2
* TurrĂ³ i Cutiller Foundation. License notice.
3
* Copyright (C) 2022 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.security;
19
24
public
enum
SecurityGroupType
{
25
26
SG_EXTERNAL
(3,
"users"
,
"DarkGreen"
),
27
SG_SUPPORT
(2,
"life-ring"
,
"DarkBlue"
),
28
SG_INTERNAL
(1,
"gears"
,
"DarkRed"
);
29
30
private
int
sortOrder;
31
private
String icon,
color
;
32
33
private
SecurityGroupType
(
int
sortOrder, String icon, String color) {
34
this.sortOrder = sortOrder;
35
this.icon = icon;
36
this.color = color;
37
}
38
39
public
int
getSortOrder
() {
40
return
sortOrder;
41
}
42
43
public
String
getIcon
() {
44
return
icon;
45
}
46
47
public
String
getColor
() {
48
return
color;
49
}
50
51
}
org.turro.security.SecurityGroupType
Definition:
SecurityGroupType.java:24
org.turro.security.SecurityGroupType.getSortOrder
int getSortOrder()
Definition:
SecurityGroupType.java:39
org.turro.security.SecurityGroupType.color
String color
Definition:
SecurityGroupType.java:31
org.turro.security.SecurityGroupType.SG_EXTERNAL
SG_EXTERNAL
Definition:
SecurityGroupType.java:26
org.turro.security.SecurityGroupType.SG_SUPPORT
SG_SUPPORT
Definition:
SecurityGroupType.java:27
org.turro.security.SecurityGroupType.getIcon
String getIcon()
Definition:
SecurityGroupType.java:43
org.turro.security.SecurityGroupType.getColor
String getColor()
Definition:
SecurityGroupType.java:47
org.turro.security.SecurityGroupType.SG_INTERNAL
SG_INTERNAL
Definition:
SecurityGroupType.java:28
TurroProjects
Public
Elephant
elephant
src
main
java
org
turro
security
SecurityGroupType.java
Generated on Tue Mar 12 2024 07:01:21 for BrightSide by
1.9.1