Package be.seeseemelk.mockbukkit.ban
Class MockBukkitProfileBanEntry
java.lang.Object
be.seeseemelk.mockbukkit.ban.MockBukkitProfileBanEntry
- All Implemented Interfaces:
BanEntry<PlayerProfile>
-
Constructor Summary
ConstructorsConstructorDescriptionMockBukkitProfileBanEntry
(PlayerProfile target, String source, Date expiration, String reason) -
Method Summary
Modifier and TypeMethodDescription@NotNull PlayerProfile
@NotNull Date
@Nullable Date
@Nullable String
@NotNull String
@NotNull String
Deprecated.void
remove()
void
save()
void
setCreated
(@NotNull Date created) void
setExpiration
(@Nullable Date expiration) void
void
-
Constructor Details
-
MockBukkitProfileBanEntry
public MockBukkitProfileBanEntry(PlayerProfile target, String source, Date expiration, String reason)
-
-
Method Details
-
getTarget
Deprecated.- Specified by:
getTarget
in interfaceBanEntry<PlayerProfile>
-
getBanTarget
- Specified by:
getBanTarget
in interfaceBanEntry<PlayerProfile>
-
getCreated
- Specified by:
getCreated
in interfaceBanEntry<PlayerProfile>
-
setCreated
- Specified by:
setCreated
in interfaceBanEntry<PlayerProfile>
-
getSource
- Specified by:
getSource
in interfaceBanEntry<PlayerProfile>
-
setSource
- Specified by:
setSource
in interfaceBanEntry<PlayerProfile>
-
getExpiration
- Specified by:
getExpiration
in interfaceBanEntry<PlayerProfile>
-
setExpiration
- Specified by:
setExpiration
in interfaceBanEntry<PlayerProfile>
-
getReason
- Specified by:
getReason
in interfaceBanEntry<PlayerProfile>
-
setReason
- Specified by:
setReason
in interfaceBanEntry<PlayerProfile>
-
save
public void save()- Specified by:
save
in interfaceBanEntry<PlayerProfile>
-
remove
public void remove()- Specified by:
remove
in interfaceBanEntry<PlayerProfile>
-