public abstract class AbstractNexusBlockHandler extends java.lang.Object implements NexusBlockHandler
NexusBlockHandler that stores a set of block names
in an unmodifiable collection.
Application developers implementing custom block handlers will usually want to inherit these from this class.
| Constructor and Description |
|---|
AbstractNexusBlockHandler(java.lang.String[] blockNames)
Creates a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<java.lang.String> |
getBlockNames()
Returns a collection of the block names this handler supports.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbeforeCommand, handleBegin, handleEndpublic AbstractNexusBlockHandler(java.lang.String[] blockNames)
blockNames - the block names the implementing class is associated withpublic java.util.Collection<java.lang.String> getBlockNames()
NexusBlockHandlergetBlockNames in interface NexusBlockHandler