src/main/kotlin/de/uapcore/lightpit/types/IssueStatus.kt

Tue, 01 Nov 2022 21:11:17 +0100

author
Mike Becker <universe@uap-core.de>
date
Tue, 01 Nov 2022 21:11:17 +0100
changeset 252
90f5e12c7623
parent 180
009700915269
permissions
-rw-r--r--

add issue status 'Ready'

universe@167 1 /*
universe@180 2 * Copyright 2021 Mike Becker. All rights reserved.
universe@167 3 *
universe@167 4 * Redistribution and use in source and binary forms, with or without
universe@167 5 * modification, are permitted provided that the following conditions are met:
universe@167 6 *
universe@167 7 * 1. Redistributions of source code must retain the above copyright
universe@167 8 * notice, this list of conditions and the following disclaimer.
universe@167 9 *
universe@167 10 * 2. Redistributions in binary form must reproduce the above copyright
universe@167 11 * notice, this list of conditions and the following disclaimer in the
universe@167 12 * documentation and/or other materials provided with the distribution.
universe@167 13 *
universe@167 14 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
universe@167 15 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
universe@167 16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
universe@167 17 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
universe@167 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
universe@167 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
universe@167 20 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
universe@167 21 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
universe@167 22 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
universe@167 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
universe@167 24 */
universe@167 25
universe@167 26 package de.uapcore.lightpit.types
universe@167 27
universe@167 28 enum class IssueStatus(val phase: IssueStatusPhase) {
universe@167 29 InSpecification(IssueStatusPhase.Open),
universe@167 30 ToDo(IssueStatusPhase.Open),
universe@167 31 Scheduled(IssueStatusPhase.Open),
universe@167 32 InProgress(IssueStatusPhase.WorkInProgress),
universe@167 33 InReview(IssueStatusPhase.WorkInProgress),
universe@252 34 Ready(IssueStatusPhase.WorkInProgress),
universe@167 35 Done(IssueStatusPhase.Done),
universe@167 36 Rejected(IssueStatusPhase.Done),
universe@167 37 Withdrawn(IssueStatusPhase.Done),
universe@167 38 Duplicate(IssueStatusPhase.Done);
universe@167 39 }

mercurial