public class RegionPrintoutBuilder
extends java.lang.Object
implements java.util.concurrent.Callable<com.sk89q.worldedit.util.formatting.text.TextComponent>
| Constructor and Description |
|---|
RegionPrintoutBuilder(java.lang.String world,
ProtectedRegion region,
com.sk89q.squirrelid.cache.ProfileCache cache,
com.sk89q.worldedit.extension.platform.Actor actor)
Create a new instance with a region to report on.
|
| Modifier and Type | Method and Description |
|---|---|
com.sk89q.worldedit.util.formatting.component.TextComponentProducer |
append(java.lang.String str) |
com.sk89q.worldedit.util.formatting.component.TextComponentProducer |
append(com.sk89q.worldedit.util.formatting.text.TextComponent component) |
void |
appendBasics()
Add region name, type, and priority.
|
void |
appendBounds()
Add information about coordinates.
|
void |
appendDomain()
Add information about members.
|
void |
appendFlags()
Add information about flags.
|
void |
appendFlagsList(boolean useColors)
Append just the list of flags (without "Flags:"), including colors.
|
void |
appendParents()
Add information about parents.
|
void |
appendParentTree(boolean useColors)
Add information about parents.
|
com.sk89q.worldedit.util.formatting.text.TextComponent |
call() |
void |
newline()
Add a new line.
|
void |
send(com.sk89q.worldedit.extension.platform.Actor sender)
Send the report to a
Actor. |
com.sk89q.worldedit.util.formatting.text.TextComponent |
toComponent() |
java.lang.String |
toString() |
public RegionPrintoutBuilder(java.lang.String world,
ProtectedRegion region,
@Nullable
com.sk89q.squirrelid.cache.ProfileCache cache,
@Nullable
com.sk89q.worldedit.extension.platform.Actor actor)
region - the regioncache - a profile cache, or nullpublic void newline()
public void appendBasics()
public void appendFlags()
public void appendFlagsList(boolean useColors)
useColors - true to use colorspublic void appendParents()
public void appendParentTree(boolean useColors)
useColors - true to use colorspublic void appendDomain()
public void appendBounds()
public com.sk89q.worldedit.util.formatting.text.TextComponent call()
call in interface java.util.concurrent.Callable<com.sk89q.worldedit.util.formatting.text.TextComponent>public void send(com.sk89q.worldedit.extension.platform.Actor sender)
Actor.sender - the recipientpublic com.sk89q.worldedit.util.formatting.component.TextComponentProducer append(java.lang.String str)
public com.sk89q.worldedit.util.formatting.component.TextComponentProducer append(com.sk89q.worldedit.util.formatting.text.TextComponent component)
public com.sk89q.worldedit.util.formatting.text.TextComponent toComponent()
public java.lang.String toString()
toString in class java.lang.Object