src/main/kotlin/de/uapcore/lightpit/entities/IssueHistoryEntry.kt

Sat, 27 Nov 2021 10:44:17 +0100

author
Mike Becker <universe@uap-core.de>
date
Sat, 27 Nov 2021 10:44:17 +0100
changeset 239
9365c7fb0240
parent 235
4258b9e010ae
child 241
1ca4f27cefe8
permissions
-rw-r--r--

#109 add assignee filter to rss feed

universe@235 1 /*
universe@235 2 * Copyright 2021 Mike Becker. All rights reserved.
universe@235 3 *
universe@235 4 * Redistribution and use in source and binary forms, with or without
universe@235 5 * modification, are permitted provided that the following conditions are met:
universe@235 6 *
universe@235 7 * 1. Redistributions of source code must retain the above copyright
universe@235 8 * notice, this list of conditions and the following disclaimer.
universe@235 9 *
universe@235 10 * 2. Redistributions in binary form must reproduce the above copyright
universe@235 11 * notice, this list of conditions and the following disclaimer in the
universe@235 12 * documentation and/or other materials provided with the distribution.
universe@235 13 *
universe@235 14 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
universe@235 15 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
universe@235 16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
universe@235 17 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
universe@235 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
universe@235 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
universe@235 20 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
universe@235 21 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
universe@235 22 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
universe@235 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
universe@235 24 */
universe@235 25
universe@235 26 package de.uapcore.lightpit.entities
universe@235 27
universe@235 28 import de.uapcore.lightpit.types.IssueCategory
universe@235 29 import de.uapcore.lightpit.types.IssueHistoryType
universe@235 30 import de.uapcore.lightpit.types.IssueStatus
universe@235 31 import java.sql.Date
universe@235 32 import java.sql.Timestamp
universe@235 33
universe@235 34 class IssueHistoryData(
universe@235 35 val id: Int,
universe@235 36 val component: String,
universe@235 37 val status: IssueStatus,
universe@235 38 val category: IssueCategory,
universe@235 39 val subject: String,
universe@235 40 val description: String,
universe@235 41 val assignee: String,
universe@239 42 val assigneeUsername: String,
universe@235 43 val eta: Date?,
universe@235 44 val affected: String,
universe@235 45 val resolved: String,
universe@235 46 )
universe@235 47
universe@235 48 class IssueHistoryEntry(val time: Timestamp, val type: IssueHistoryType, val data: IssueHistoryData)

mercurial