Package be.seeseemelk.mockbukkit.ban
Class MockPaperProfileBanEntry
java.lang.Object
be.seeseemelk.mockbukkit.ban.MockPaperProfileBanEntry
- All Implemented Interfaces:
org.bukkit.BanEntry<com.destroystokyo.paper.profile.PlayerProfile>
public class MockPaperProfileBanEntry
extends Object
implements org.bukkit.BanEntry<com.destroystokyo.paper.profile.PlayerProfile>
-
Constructor Summary
ConstructorsConstructorDescriptionMockPaperProfileBanEntry(com.destroystokyo.paper.profile.PlayerProfile target, String source, Date expiration, String reason) -
Method Summary
Modifier and TypeMethodDescription@NotNull com.destroystokyo.paper.profile.PlayerProfile@NotNull Date@Nullable Date@Nullable String@NotNull String@NotNull StringDeprecated.voidremove()voidsave()voidsetCreated(@NotNull Date created) voidsetExpiration(@Nullable Date expiration) voidvoid
-
Constructor Details
-
MockPaperProfileBanEntry
-
-
Method Details
-
getTarget
Deprecated.- Specified by:
getTargetin interfaceorg.bukkit.BanEntry<com.destroystokyo.paper.profile.PlayerProfile>
-
getBanTarget
@NotNull public @NotNull com.destroystokyo.paper.profile.PlayerProfile getBanTarget()- Specified by:
getBanTargetin interfaceorg.bukkit.BanEntry<com.destroystokyo.paper.profile.PlayerProfile>
-
getCreated
- Specified by:
getCreatedin interfaceorg.bukkit.BanEntry<com.destroystokyo.paper.profile.PlayerProfile>
-
setCreated
- Specified by:
setCreatedin interfaceorg.bukkit.BanEntry<com.destroystokyo.paper.profile.PlayerProfile>
-
getSource
- Specified by:
getSourcein interfaceorg.bukkit.BanEntry<com.destroystokyo.paper.profile.PlayerProfile>
-
setSource
- Specified by:
setSourcein interfaceorg.bukkit.BanEntry<com.destroystokyo.paper.profile.PlayerProfile>
-
getExpiration
- Specified by:
getExpirationin interfaceorg.bukkit.BanEntry<com.destroystokyo.paper.profile.PlayerProfile>
-
setExpiration
- Specified by:
setExpirationin interfaceorg.bukkit.BanEntry<com.destroystokyo.paper.profile.PlayerProfile>
-
getReason
- Specified by:
getReasonin interfaceorg.bukkit.BanEntry<com.destroystokyo.paper.profile.PlayerProfile>
-
setReason
- Specified by:
setReasonin interfaceorg.bukkit.BanEntry<com.destroystokyo.paper.profile.PlayerProfile>
-
save
public void save()- Specified by:
savein interfaceorg.bukkit.BanEntry<com.destroystokyo.paper.profile.PlayerProfile>
-
remove
public void remove()- Specified by:
removein interfaceorg.bukkit.BanEntry<com.destroystokyo.paper.profile.PlayerProfile>
-