Class FeatureEvent
java.lang.Object
net.okocraft.box.api.event.BoxEvent
net.okocraft.box.api.event.feature.FeatureEvent
A class that represents a
BoxFeature related event.-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionFeatureEvent(@NotNull BoxFeature feature, @NotNull FeatureEvent.Type type) The constructor of aFeatureEvent. -
Method Summary
Modifier and TypeMethodDescription@NotNull BoxFeatureGets theBoxFeatureof this event.@NotNull FeatureEvent.TypegetType()Gets theFeatureEvent.Typeof this event.@NotNull StringCreates the debug log from this event.toString()
-
Constructor Details
-
FeatureEvent
The constructor of aFeatureEvent.- Parameters:
feature- theBoxFeatureof this eventtype- the type of this event
-
-
Method Details
-
getFeature
Gets theBoxFeatureof this event.- Returns:
- the
BoxFeatureof this event
-
getType
Gets theFeatureEvent.Typeof this event.- Returns:
- the
FeatureEvent.Typeof this event
-
toDebugLog
Description copied from class:BoxEventCreates the debug log from this event.- Overrides:
toDebugLogin classBoxEvent- Returns:
- the debug log
-
toString
-