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