Package be.seeseemelk.mockbukkit.ban
Class MockBukkitProfileBanEntry
java.lang.Object
be.seeseemelk.mockbukkit.ban.MockBukkitProfileBanEntry
- All Implemented Interfaces:
org.bukkit.BanEntry<org.bukkit.profile.PlayerProfile>
public class MockBukkitProfileBanEntry
extends Object
implements org.bukkit.BanEntry<org.bukkit.profile.PlayerProfile>
-
Constructor Summary
ConstructorsConstructorDescriptionMockBukkitProfileBanEntry(org.bukkit.profile.PlayerProfile target, String source, Date expiration, String reason) -
Method Summary
-
Constructor Details
-
MockBukkitProfileBanEntry
-
-
Method Details
-
getTarget
Deprecated.- Specified by:
getTargetin interfaceorg.bukkit.BanEntry<org.bukkit.profile.PlayerProfile>
-
getBanTarget
@NotNull public @NotNull org.bukkit.profile.PlayerProfile getBanTarget()- Specified by:
getBanTargetin interfaceorg.bukkit.BanEntry<org.bukkit.profile.PlayerProfile>
-
getCreated
- Specified by:
getCreatedin interfaceorg.bukkit.BanEntry<org.bukkit.profile.PlayerProfile>
-
setCreated
- Specified by:
setCreatedin interfaceorg.bukkit.BanEntry<org.bukkit.profile.PlayerProfile>
-
getSource
- Specified by:
getSourcein interfaceorg.bukkit.BanEntry<org.bukkit.profile.PlayerProfile>
-
setSource
- Specified by:
setSourcein interfaceorg.bukkit.BanEntry<org.bukkit.profile.PlayerProfile>
-
getExpiration
- Specified by:
getExpirationin interfaceorg.bukkit.BanEntry<org.bukkit.profile.PlayerProfile>
-
setExpiration
- Specified by:
setExpirationin interfaceorg.bukkit.BanEntry<org.bukkit.profile.PlayerProfile>
-
getReason
- Specified by:
getReasonin interfaceorg.bukkit.BanEntry<org.bukkit.profile.PlayerProfile>
-
setReason
- Specified by:
setReasonin interfaceorg.bukkit.BanEntry<org.bukkit.profile.PlayerProfile>
-
save
public void save()- Specified by:
savein interfaceorg.bukkit.BanEntry<org.bukkit.profile.PlayerProfile>
-
remove
public void remove()- Specified by:
removein interfaceorg.bukkit.BanEntry<org.bukkit.profile.PlayerProfile>
-