View Javadoc
1   /*
2    * Copyright (c) 2021 Kaiserpfalz EDV-Service, Roland T. Lichti
3    *
4    * This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
5    * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any
6    * later version.
7    *
8    * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
9    * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
10   * more details.
11   *
12   * You should have received a copy of the GNU General Public License along with this program.  If not, see
13   * <http://www.gnu.org/licenses/>.
14   */
15  
16  package de.kaiserpfalzedv.rpg.torg.model.core;
17  
18  
19  import org.eclipse.microprofile.openapi.annotations.media.Schema;
20  
21  /**
22   * SuccessState --
23   *
24   * @author klenkes74 {@literal <rlichti@kaiserpfalz-edv.de>}
25   * @since 0.1.0  2021-03-28
26   */
27  @Schema(
28          description = "The possible states of a Torg success.",
29          enumeration = {"NONE","FAILED","SUCCESS","GOOD","OUTSTANDING"},
30          example = "GOOD",
31          defaultValue = "NONE"
32  )
33  public enum SuccessState {
34      NONE,
35      FAILED,
36      SUCCESS,
37      GOOD,
38      OUTSTANDING;
39  }