X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fcore%2Fevent%2FUpdateFoundEvent.java;fp=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fcore%2Fevent%2FUpdateFoundEvent.java;h=0000000000000000000000000000000000000000;hp=2884090d84428e63a8146b822032b92a26230caf;hb=e482c6e00025f94082362b3805ca8d38773f66e4;hpb=b5773d0578a01a950e0ff48e1f6631667ddfa998 diff --git a/src/main/java/net/pterodactylus/sone/core/event/UpdateFoundEvent.java b/src/main/java/net/pterodactylus/sone/core/event/UpdateFoundEvent.java deleted file mode 100644 index 2884090..0000000 --- a/src/main/java/net/pterodactylus/sone/core/event/UpdateFoundEvent.java +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Sone - UpdateFoundEvent.java - Copyright © 2013–2019 David Roden - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -package net.pterodactylus.sone.core.event; - -import net.pterodactylus.util.version.Version; - -/** - * Event that signals that an update for Sone was found. - */ -public class UpdateFoundEvent { - - private final Version version; - private final long releaseTime; - private final long latestEdition; - private final boolean disruptive; - - public UpdateFoundEvent(Version version, long releaseTime, long latestEdition, boolean disruptive) { - this.version = version; - this.releaseTime = releaseTime; - this.latestEdition = latestEdition; - this.disruptive = disruptive; - } - - public Version version() { - return version; - } - - public long releaseTime() { - return releaseTime; - } - - public long latestEdition() { - return latestEdition; - } - - public boolean disruptive() { - return disruptive; - } - -}