|
| STATUS_NEW =(false, false, true, false) |
|
| STATUS_INCOMPLETE =(true, false, true, false) |
|
| STATUS_STARTED =(true, true, false, false) |
|
| STATUS_REOPENED =(true, true, false, false) |
|
| STATUS_REUNION =(true, false, true, false) |
|
| STATUS_FROZEN =(true, false, true, false) |
|
| STATUS_RESOLVED =(true, false, false, true) |
|
| STATUS_VERIFIED =(true, false, false, true) |
|
| STATUS_CLOSED =(true, false, false, true) |
|
final boolean | working |
|
final boolean | standBy |
|
final boolean | finished |
|
- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 29 of file IssueStatus.java.
◆ color()
String org.turro.dossier.entity.IssueStatus.color |
( |
IssueResolution |
resolution | ) |
|
Definition at line 66 of file IssueStatus.java.
67 return switch (
this) {
75 case RESOLUTION_NONE ->
"olive";
76 case RESOLUTION_FIXED ->
"green";
77 case RESOLUTION_WORKSFORME ->
"yellow";
78 case RESOLUTION_DUPLICATED, RESOLUTION_MOVED ->
"teal";
79 case RESOLUTION_WONTFIX, RESOLUTION_INVALID ->
"red";
◆ isFinished()
boolean org.turro.dossier.entity.IssueStatus.isFinished |
( |
| ) |
|
◆ isSeen()
boolean org.turro.dossier.entity.IssueStatus.isSeen |
( |
| ) |
|
◆ isStandBy()
boolean org.turro.dossier.entity.IssueStatus.isStandBy |
( |
| ) |
|
◆ isWorking()
boolean org.turro.dossier.entity.IssueStatus.isWorking |
( |
| ) |
|
◆ label()
String org.turro.dossier.entity.IssueStatus.label |
( |
IssueResolution |
resolution | ) |
|
Definition at line 86 of file IssueStatus.java.
87 return I_.byKey(this.toString()) + (!this.
isFinished() ?
"" :
88 (
" - " + I_.byKey(resolution.toString())));
◆ selectBy()
static List<IssueStatus> org.turro.dossier.entity.IssueStatus.selectBy |
( |
Boolean |
seen, |
|
|
Boolean |
working, |
|
|
Boolean |
standBy, |
|
|
Boolean |
finished |
|
) |
| |
|
static |
Definition at line 93 of file IssueStatus.java.
94 List<IssueStatus> list=
new ArrayList<>();
95 for(IssueStatus status : IssueStatus.values()) {
96 if((seen ==
null || Objects.equals(status.isSeen(), seen)) &&
97 (
working ==
null || Objects.equals(status.isWorking(),
working)) &&
98 (
standBy ==
null || Objects.equals(status.isStandBy(),
standBy)) &&
◆ finished
final boolean org.turro.dossier.entity.IssueStatus.finished |
◆ standBy
final boolean org.turro.dossier.entity.IssueStatus.standBy |
◆ STATUS_CLOSED
org.turro.dossier.entity.IssueStatus.STATUS_CLOSED =(true, false, false, true) |
◆ STATUS_FROZEN
org.turro.dossier.entity.IssueStatus.STATUS_FROZEN =(true, false, true, false) |
◆ STATUS_INCOMPLETE
org.turro.dossier.entity.IssueStatus.STATUS_INCOMPLETE =(true, false, true, false) |
◆ STATUS_NEW
org.turro.dossier.entity.IssueStatus.STATUS_NEW =(false, false, true, false) |
◆ STATUS_REOPENED
org.turro.dossier.entity.IssueStatus.STATUS_REOPENED =(true, true, false, false) |
◆ STATUS_RESOLVED
org.turro.dossier.entity.IssueStatus.STATUS_RESOLVED =(true, false, false, true) |
◆ STATUS_REUNION
org.turro.dossier.entity.IssueStatus.STATUS_REUNION =(true, false, true, false) |
◆ STATUS_STARTED
org.turro.dossier.entity.IssueStatus.STATUS_STARTED =(true, true, false, false) |
◆ STATUS_VERIFIED
org.turro.dossier.entity.IssueStatus.STATUS_VERIFIED =(true, false, false, true) |
◆ working
final boolean org.turro.dossier.entity.IssueStatus.working |
The documentation for this enum was generated from the following file: