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

Sun, 08 Jan 2023 17:07:26 +0100

author
Mike Becker <universe@uap-core.de>
date
Sun, 08 Jan 2023 17:07:26 +0100
changeset 268
ca5501d851fa
parent 263
aa22103809cd
permissions
-rw-r--r--

#15 add issue filters

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

mercurial