public class StartingMapBuilder
extends java.lang.Object
StartingMap
instances while parsing a "replyinfo
startingmap" response packet.Constructor and Description |
---|
StartingMapBuilder() |
Modifier and Type | Method and Description |
---|---|
@NotNull java.util.Collection<StartingMap> |
finish()
Finishes parsing.
|
void |
setArchName(@NotNull java.lang.String archName)
Starts a new starting map entry.
|
void |
setDescription(@NotNull java.lang.String description)
Sets the description of the current entry.
|
void |
setName(@NotNull java.lang.String name)
Sets the name of the current entry.
|
public void setArchName(@NotNull @NotNull java.lang.String archName)
archName
- the archetype name of the entrypublic void setName(@NotNull @NotNull java.lang.String name)
name
- the namepublic void setDescription(@NotNull @NotNull java.lang.String description)
description
- the description@NotNull public @NotNull java.util.Collection<StartingMap> finish()