BrightSide Workbench Full Report + Source Code
AcceptanceStatus.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.action;
19
24
public
enum
AcceptanceStatus
{
25
26
FULLY_ACCEPTED
(
"/_zul/images/acceptation_accepted.png"
,
true
),
27
FULLY_PENDING
(
"/_zul/images/acceptation_pending.png"
,
false
),
28
SELF_ACCEPTED
(
"/_zul/images/acceptation_accepted_self.png"
,
false
),
29
SELF_PENDING
(
"/_zul/images/acceptation_pending_self.png"
,
false
),
30
SOME_PENDING
(
"/_zul/images/acceptation_pending.png"
,
false
),
31
NONE_EXISTS
(
"/_zul/images/acceptation.png"
,
true
);
32
33
private
String image;
34
private
boolean
pass;
35
36
private
AcceptanceStatus
(String image,
boolean
pass) {
37
this.image = image;
38
this.pass = pass;
39
}
40
41
public
String
getImage
() {
42
return
image;
43
}
44
45
public
boolean
isPass
() {
46
return
pass;
47
}
48
49
}
org.turro.action.AcceptanceStatus
Definition:
AcceptanceStatus.java:24
org.turro.action.AcceptanceStatus.FULLY_PENDING
FULLY_PENDING
Definition:
AcceptanceStatus.java:27
org.turro.action.AcceptanceStatus.isPass
boolean isPass()
Definition:
AcceptanceStatus.java:45
org.turro.action.AcceptanceStatus.FULLY_ACCEPTED
FULLY_ACCEPTED
Definition:
AcceptanceStatus.java:26
org.turro.action.AcceptanceStatus.SELF_ACCEPTED
SELF_ACCEPTED
Definition:
AcceptanceStatus.java:28
org.turro.action.AcceptanceStatus.NONE_EXISTS
NONE_EXISTS
Definition:
AcceptanceStatus.java:31
org.turro.action.AcceptanceStatus.SELF_PENDING
SELF_PENDING
Definition:
AcceptanceStatus.java:29
org.turro.action.AcceptanceStatus.getImage
String getImage()
Definition:
AcceptanceStatus.java:41
org.turro.action.AcceptanceStatus.SOME_PENDING
SOME_PENDING
Definition:
AcceptanceStatus.java:30
TurroProjects
Public
Elephant
elephant
src
main
java
org
turro
action
AcceptanceStatus.java
Generated on Tue Mar 12 2024 07:01:17 for BrightSide by
1.9.1