<dd><code><ahref="../implementation/builder/ExtDataBuilder.html"title="class in com.djrapitops.plan.extension.implementation.builder">ExtDataBuilder</a></code></dd>
Obtain an instance with <ahref="../DataExtension.html#newExtensionDataBuilder()"><code>DataExtension.newExtensionDataBuilder()</code></a>
<p>
Used with <ahref="../annotation/DataBuilderProvider.html"title="annotation in com.djrapitops.plan.extension.annotation"><code>DataBuilderProvider</code></a>.
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colSecond"scope="col">Method</th>
<thclass="colLast"scope="col">Description</th>
</tr>
<trid="i0"class="altColor">
<tdclass="colFirst"><code>void</code></td>
<thclass="colSecond"scope="row"><code><spanclass="memberNameLink"><ahref="#addAll(com.djrapitops.plan.extension.builder.ExtensionDataBuilder)">addAll</a></span>​(<ahref="ExtensionDataBuilder.html"title="interface in com.djrapitops.plan.extension.builder">ExtensionDataBuilder</a> builder)</code></th>
<tdclass="colLast">
<divclass="block">Adds all values and tables in another builder to this builder.</div>
</td>
</tr>
<trid="i1"class="rowColor">
<tdclass="colFirst"><code>default <ahref="ExtensionDataBuilder.html"title="interface in com.djrapitops.plan.extension.builder">ExtensionDataBuilder</a></code></td>
<ahref="../table/Table.html"title="class in com.djrapitops.plan.extension.table">Table</a> table,
<ahref="../icon/Color.html"title="enum in com.djrapitops.plan.extension.icon">Color</a> color)</code></th>
<tdclass="colLast">
<divclass="block">Add a table.</div>
</td>
</tr>
<trid="i2"class="altColor">
<tdclass="colFirst"><code>default <ahref="ExtensionDataBuilder.html"title="interface in com.djrapitops.plan.extension.builder">ExtensionDataBuilder</a></code></td>
<ahref="../table/Table.html"title="class in com.djrapitops.plan.extension.table">Table</a> table,
<ahref="../icon/Color.html"title="enum in com.djrapitops.plan.extension.icon">Color</a> color,
java.lang.String tab)</code></th>
<tdclass="colLast">
<divclass="block">Add a table to a specific tab.</div>
</td>
</tr>
<trid="i3"class="rowColor">
<tdclass="colFirst"><code><T> <ahref="ExtensionDataBuilder.html"title="interface in com.djrapitops.plan.extension.builder">ExtensionDataBuilder</a></code></td>
<ahref="DataValue.html"title="interface in com.djrapitops.plan.extension.builder">DataValue</a><T> dataValue)</code></th>
<tdclass="colLast">
<divclass="block">Add a value.</div>
</td>
</tr>
<trid="i4"class="altColor">
<tdclass="colFirst"><code><T> <ahref="ExtensionDataBuilder.html"title="interface in com.djrapitops.plan.extension.builder">ExtensionDataBuilder</a></code></td>
java.util.function.Supplier<<ahref="DataValue.html"title="interface in com.djrapitops.plan.extension.builder">DataValue</a><T>> dataValue)</code></th>
<tdclass="colLast">
<divclass="block">Compared to the other addValue method, this method allows you to use <ahref="../NotReadyException.html"title="class in com.djrapitops.plan.extension"><code>NotReadyException</code></a> when building your data.</div>
<tdclass="colFirst"><code><ahref="ExtensionDataBuilder.html"title="interface in com.djrapitops.plan.extension.builder">ExtensionDataBuilder</a></code></td>
<divclass="block">Invalidate a value similar to <ahref="../annotation/InvalidateMethod.html"title="annotation in com.djrapitops.plan.extension.annotation"><code>InvalidateMethod</code></a> annotation, but with the text given to <ahref="#valueBuilder(java.lang.String)"><code>valueBuilder(String)</code></a>.</div>
<divclass="block">Creates a new <ahref="ValueBuilder.html"title="interface in com.djrapitops.plan.extension.builder"><code>ValueBuilder</code></a> in order to use addValue methods.</div>
</td>
</tr>
</table>
</li>
</ul>
</section>
</li>
</ul>
</div>
<divclass="details">
<ulclass="blockList">
<liclass="blockList">
<!-- ============ METHOD DETAIL ========== -->
<sectionrole="region">
<ulclass="blockList">
<liclass="blockList"><aid="method.detail">
<!---->
</a>
<h3>Method Detail</h3>
<aid="valueBuilder(java.lang.String)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>valueBuilder</h4>
<preclass="methodSignature"><ahref="ValueBuilder.html"title="interface in com.djrapitops.plan.extension.builder">ValueBuilder</a> valueBuilder​(java.lang.String text)</pre>
<divclass="block">Creates a new <ahref="ValueBuilder.html"title="interface in com.djrapitops.plan.extension.builder"><code>ValueBuilder</code></a> in order to use addValue methods.
<p>
Using same text for two values can be problematic as the text is used for id in the database.
<p>
If you need to use <ahref="../annotation/InvalidateMethod.html"title="annotation in com.djrapitops.plan.extension.annotation"><code>InvalidateMethod</code></a> with built values,
lowercase 'text' and remove all whitespace. Example <code>valueBuilder("Times Jumped"); @InvalidateMethod("timesjumped")</code></div>
<preclass="methodSignature"><T> <ahref="ExtensionDataBuilder.html"title="interface in com.djrapitops.plan.extension.builder">ExtensionDataBuilder</a> addValue​(java.lang.Class<T> ofType,
<ahref="DataValue.html"title="interface in com.djrapitops.plan.extension.builder">DataValue</a><T> dataValue)</pre>
<dd><code>ofType</code> - Class for type of the data, matches what Provider annotations want.</dd>
<dd><code>dataValue</code> - Use <ahref="ValueBuilder.html"title="interface in com.djrapitops.plan.extension.builder"><code>ValueBuilder</code></a> to create one.</dd>
<dt><spanclass="returnLabel">Returns:</span></dt>
<dd>This builder.</dd>
<dt><spanclass="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - If either parameter is null</dd>
<preclass="methodSignature"><T> <ahref="ExtensionDataBuilder.html"title="interface in com.djrapitops.plan.extension.builder">ExtensionDataBuilder</a> addValue​(java.lang.Class<T> ofType,
java.util.function.Supplier<<ahref="DataValue.html"title="interface in com.djrapitops.plan.extension.builder">DataValue</a><T>> dataValue)</pre>
<divclass="block">Compared to the other addValue method, this method allows you to use <ahref="../NotReadyException.html"title="class in com.djrapitops.plan.extension"><code>NotReadyException</code></a> when building your data.</div>
<dd><code>ofType</code> - Class for type of the data, matches what Provider annotations want.</dd>
<dd><code>dataValue</code> - Use <ahref="ValueBuilder.html"title="interface in com.djrapitops.plan.extension.builder"><code>ValueBuilder</code></a> to create one.</dd>
<dt><spanclass="returnLabel">Returns:</span></dt>
<dd>This builder.</dd>
<dt><spanclass="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - If either parameter is null</dd>
<preclass="methodSignature"><ahref="ExtensionDataBuilder.html"title="interface in com.djrapitops.plan.extension.builder">ExtensionDataBuilder</a> invalidateValue​(java.lang.String text)</pre>
<divclass="block">Invalidate a value similar to <ahref="../annotation/InvalidateMethod.html"title="annotation in com.djrapitops.plan.extension.annotation"><code>InvalidateMethod</code></a> annotation, but with the text given to <ahref="#valueBuilder(java.lang.String)"><code>valueBuilder(String)</code></a>.</div>
<preclass="methodSignature">default <ahref="ExtensionDataBuilder.html"title="interface in com.djrapitops.plan.extension.builder">ExtensionDataBuilder</a> addTable​(java.lang.String name,
<ahref="../table/Table.html"title="class in com.djrapitops.plan.extension.table">Table</a> table,
<ahref="../icon/Color.html"title="enum in com.djrapitops.plan.extension.icon">Color</a> color)</pre>
<preclass="methodSignature">default <ahref="ExtensionDataBuilder.html"title="interface in com.djrapitops.plan.extension.builder">ExtensionDataBuilder</a> addTable​(java.lang.String name,
<ahref="../table/Table.html"title="class in com.djrapitops.plan.extension.table">Table</a> table,
<ahref="../icon/Color.html"title="enum in com.djrapitops.plan.extension.icon">Color</a> color,
java.lang.String tab)</pre>
<divclass="block">Add a table to a specific tab.</div>
<dd><code>name</code> - Name of the table, used in the database.</dd>
<dd><code>table</code> - Table built using <ahref="../table/Table.html#builder()"><code>Table.builder()</code></a></dd>
<dd><code>color</code> - Color of the table</dd>
<dd><code>tab</code> - Name of the tab, remember to define <ahref="../annotation/TabInfo.html"title="annotation in com.djrapitops.plan.extension.annotation"><code>TabInfo</code></a>.</dd>
<preclass="methodSignature">void addAll​(<ahref="ExtensionDataBuilder.html"title="interface in com.djrapitops.plan.extension.builder">ExtensionDataBuilder</a> builder)</pre>
<divclass="block">Adds all values and tables in another builder to this builder.</div>