1 /* 2 * Copyright (c) 2023. Roland T. Lichti, Kaiserpfalz EDV-Service. 3 * 4 * This program is free software: you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 6 * the Free Software Foundation, either version 3 of the License, or 7 * (at your option) any later version. 8 * 9 * This program is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU General Public License for more details. 13 * 14 * You should have received a copy of the GNU General Public License 15 * along with this program. If not, see <https://www.gnu.org/licenses/>. 16 */ 17 18 /* 19 * Libravatar -- Java Library for retrieving libravatars. 20 * 21 * The code in this package is taken from {@linkplain https://github.com/alessandroleite/libravatar-j}. 22 * 23 * It is licensed under a MIT license by Alessandro Leite. 24 */ 25 package de.kaiserpfalzedv.commons.api.libravatar; 26 27 import lombok.Getter; 28 29 public enum LibravatarDefaultImage { 30 31 DEFAULT(""), 32 33 MM("mm"), 34 35 IDENTICON("identicon"), 36 37 MONSTERID("monsterid"), 38 39 WAVATAR("wavatar"), 40 41 RETRO("retro"), 42 43 NOT_FOUND("404"); 44 45 @Getter 46 private final String code; 47 48 LibravatarDefaultImage(final String code) { 49 this.code = code; 50 } 51 }