Class CaptionHolder
java.lang.Object
com.plotsquared.core.configuration.caption.CaptionHolder
A holder for a caption.
Useful when constructing messages in multiple steps with
TagResolvers.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()Get theCaptionto send.Get theTagResolvers to use when resolving tags in theCaption.voidSet theCaptionto send.voidsetTagResolvers(TagResolver... tagResolvers) Set theTagResolvers to use when resolving tags in theCaption.
-
Constructor Details
-
CaptionHolder
public CaptionHolder()
-
-
Method Details
-
set
Set theCaptionto send.- Parameters:
caption- The new caption.
-
get
Get theCaptionto send.- Returns:
- The caption to send.
-
getTagResolvers
Get theTagResolvers to use when resolving tags in theCaption.- Returns:
- The tag resolvers to use.
- Since:
- 7.0.0
-
setTagResolvers
Set theTagResolvers to use when resolving tags in theCaption.- Parameters:
tagResolvers- The tag resolvers to use.- Since:
- 7.0.0
-