Skip to content

Commit 5304675

Browse files
committed
Publish website
1 parent 6bf51e8 commit 5304675

File tree

23 files changed

+989
-1056
lines changed

23 files changed

+989
-1056
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[
2+
{
3+
"code": "java.method.attributeRemovedFromAnnotationType",
4+
"description": "The annotation no longer has an attribute.",
5+
"oldElement": "method react4j.annotations.Feature react4j.annotations.Input::shouldUpdateOnChange()",
6+
"classification": {
7+
"SOURCE": "BREAKING",
8+
"BINARY": "BREAKING"
9+
},
10+
"attachments": {
11+
"classQualifiedName": "react4j.annotations.Input",
12+
"classSimpleName": "Input",
13+
"elementKind": "method",
14+
"methodName": "shouldUpdateOnChange",
15+
"package": "react4j.annotations"
16+
}
17+
}
18+
]

api/react4j/annotations/Input.Source.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ <h2 title="Enum Input.Source" class="title">Enum Input.Source</h2>
120120
</dl>
121121
<hr>
122122
<br>
123-
<pre>public static enum <a href="../../src-html/react4j/annotations/Input.html#line.161">Input.Source</a>
123+
<pre>public static enum <a href="../../src-html/react4j/annotations/Input.html#line.152">Input.Source</a>
124124
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;<a href="../../react4j/annotations/Input.Source.html" title="enum in react4j.annotations">Input.Source</a>&gt;</pre>
125125
<div class="block">Enum where the input is sourced from.</div>
126126
</li>
@@ -213,7 +213,7 @@ <h3>Enum Constant Detail</h3>
213213
<ul class="blockList">
214214
<li class="blockList">
215215
<h4>DEFAULT</h4>
216-
<pre>public static final&nbsp;<a href="../../react4j/annotations/Input.Source.html" title="enum in react4j.annotations">Input.Source</a> <a href="../../src-html/react4j/annotations/Input.Source.html#line.166">DEFAULT</a></pre>
216+
<pre>public static final&nbsp;<a href="../../react4j/annotations/Input.Source.html" title="enum in react4j.annotations">Input.Source</a> <a href="../../src-html/react4j/annotations/Input.Source.html#line.157">DEFAULT</a></pre>
217217
<div class="block">The input value is passed to the view during construction.</div>
218218
</li>
219219
</ul>
@@ -223,7 +223,7 @@ <h4>DEFAULT</h4>
223223
<ul class="blockListLast">
224224
<li class="blockList">
225225
<h4>CONTEXT</h4>
226-
<pre>public static final&nbsp;<a href="../../react4j/annotations/Input.Source.html" title="enum in react4j.annotations">Input.Source</a> <a href="../../src-html/react4j/annotations/Input.Source.html#line.170">CONTEXT</a></pre>
226+
<pre>public static final&nbsp;<a href="../../react4j/annotations/Input.Source.html" title="enum in react4j.annotations">Input.Source</a> <a href="../../src-html/react4j/annotations/Input.Source.html#line.161">CONTEXT</a></pre>
227227
<div class="block">The input value is retrieved from the react context.</div>
228228
</li>
229229
</ul>
@@ -241,7 +241,7 @@ <h3>Method Detail</h3>
241241
<ul class="blockList">
242242
<li class="blockList">
243243
<h4>values</h4>
244-
<pre>public static&nbsp;<a href="../../react4j/annotations/Input.Source.html" title="enum in react4j.annotations">Input.Source</a>[]&nbsp;<a href="../../src-html/react4j/annotations/Input.Source.html#line.161">values</a>()</pre>
244+
<pre>public static&nbsp;<a href="../../react4j/annotations/Input.Source.html" title="enum in react4j.annotations">Input.Source</a>[]&nbsp;<a href="../../src-html/react4j/annotations/Input.Source.html#line.152">values</a>()</pre>
245245
<div class="block">Returns an array containing the constants of this enum type, in
246246
the order they are declared. This method may be used to iterate
247247
over the constants as follows:
@@ -261,7 +261,7 @@ <h4>values</h4>
261261
<ul class="blockListLast">
262262
<li class="blockList">
263263
<h4>valueOf</h4>
264-
<pre>public static&nbsp;<a href="../../react4j/annotations/Input.Source.html" title="enum in react4j.annotations">Input.Source</a>&nbsp;<a href="../../src-html/react4j/annotations/Input.Source.html#line.161">valueOf</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
264+
<pre>public static&nbsp;<a href="../../react4j/annotations/Input.Source.html" title="enum in react4j.annotations">Input.Source</a>&nbsp;<a href="../../src-html/react4j/annotations/Input.Source.html#line.152">valueOf</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
265265
<div class="block">Returns the enum constant of this type with the specified name.
266266
The string must match <i>exactly</i> an identifier used to declare an
267267
enum constant in this type. (Extraneous whitespace characters are

api/react4j/annotations/Input.html

Lines changed: 5 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -180,12 +180,6 @@ <h3>Optional Element Summary</h3>
180180
</td>
181181
</tr>
182182
<tr class="rowColor">
183-
<td class="colFirst"><code><a href="../../react4j/annotations/Feature.html" title="enum in react4j.annotations">Feature</a></code></td>
184-
<td class="colLast"><code><span class="memberNameLink"><a href="../../react4j/annotations/Input.html#shouldUpdateOnChange--">shouldUpdateOnChange</a></span></code>
185-
<div class="block">Indicate whether changing the value of the input should schedule a re-render.</div>
186-
</td>
187-
</tr>
188-
<tr class="altColor">
189183
<td class="colFirst"><code><a href="../../react4j/annotations/Input.Source.html" title="enum in react4j.annotations">Input.Source</a></code></td>
190184
<td class="colLast"><code><span class="memberNameLink"><a href="../../react4j/annotations/Input.html#source--">source</a></span></code>
191185
<div class="block">The setting controlling where the input value is source from.</div>
@@ -305,41 +299,18 @@ <h4>require</h4>
305299
</li>
306300
</ul>
307301
<ul class="blockList">
308-
<li class="blockList"><a name="shouldUpdateOnChange--">
309-
<!-- -->
310-
</a>
311-
<ul class="blockList">
312-
<li class="blockList">
313-
<h4>shouldUpdateOnChange</h4>
314-
<pre>public abstract&nbsp;<a href="../../react4j/annotations/Feature.html" title="enum in react4j.annotations">Feature</a>&nbsp;<a href="../../src-html/react4j/annotations/Input.html#line.95">shouldUpdateOnChange</a></pre>
315-
<div class="block">Indicate whether changing the value of the input should schedule a re-render.
316-
If set to <a href="../../react4j/annotations/Feature.html#AUTODETECT"><code>Feature.AUTODETECT</code></a> then the annotation processor will treat it as
317-
<a href="../../react4j/annotations/Feature.html#ENABLE"><code>Feature.ENABLE</code></a> unless <a href="../../react4j/annotations/Input.html#immutable--"><code>immutable()</code></a> is set to <code>true</code>.</div>
318-
<dl>
319-
<dt><span class="returnLabel">Returns:</span></dt>
320-
<dd>the enum indicating whether input should trigger a render if it is modified.</dd>
321-
</dl>
322-
<dl>
323-
<dt>Default:</dt>
324-
<dd>react4j.annotations.Feature.AUTODETECT</dd>
325-
</dl>
326-
</li>
327-
</ul>
328-
</li>
329-
</ul>
330-
<ul class="blockList">
331302
<li class="blockList"><a name="observable--">
332303
<!-- -->
333304
</a>
334305
<ul class="blockList">
335306
<li class="blockList">
336307
<h4>observable</h4>
337-
<pre>public abstract&nbsp;<a href="../../react4j/annotations/Feature.html" title="enum in react4j.annotations">Feature</a>&nbsp;<a href="../../src-html/react4j/annotations/Input.html#line.108">observable</a></pre>
308+
<pre>public abstract&nbsp;<a href="../../react4j/annotations/Feature.html" title="enum in react4j.annotations">Feature</a>&nbsp;<a href="../../src-html/react4j/annotations/Input.html#line.99">observable</a></pre>
338309
<div class="block">Indicate whether the input should be annotated by <a href="https://arez.github.io/api/arez/annotations/Observable.html?is-external=true" title="class or interface in arez.annotations"><code>Observable</code></a>.
339310

340311
<p>If set to <a href="../../react4j/annotations/Feature.html#AUTODETECT"><code>Feature.AUTODETECT</code></a> then the input will be observable if and only if:</p>
341312
<ul>
342-
<li><a href="../../react4j/annotations/Input.html#shouldUpdateOnChange--"><code>shouldUpdateOnChange()</code></a> is not set to <a href="../../react4j/annotations/Feature.html#DISABLE"><code>Feature.DISABLE</code></a>.</li>
313+
<li><a href="../../react4j/annotations/Input.html#immutable--"><code>immutable()</code></a> ()} is not set to <code>true</code>.</li>
343314
<li>the view has at least one method annotated with <a href="https://arez.github.io/api/arez/annotations/Memoize.html?is-external=true" title="class or interface in arez.annotations"><code>Memoize</code></a> or <a href="https://arez.github.io/api/arez/annotations/Observe.html?is-external=true" title="class or interface in arez.annotations"><code>Observe</code></a>.</li>
344315
</ul></div>
345316
<dl>
@@ -361,7 +332,7 @@ <h4>observable</h4>
361332
<ul class="blockList">
362333
<li class="blockList">
363334
<h4>disposable</h4>
364-
<pre>public abstract&nbsp;<a href="../../react4j/annotations/Feature.html" title="enum in react4j.annotations">Feature</a>&nbsp;<a href="../../src-html/react4j/annotations/Input.html#line.119">disposable</a></pre>
335+
<pre>public abstract&nbsp;<a href="../../react4j/annotations/Feature.html" title="enum in react4j.annotations">Feature</a>&nbsp;<a href="../../src-html/react4j/annotations/Input.html#line.110">disposable</a></pre>
365336
<div class="block">Return an enum indicating whether the view should check whether the value of the input is disposed
366337
prior to rendering. If the value is disposed then the render method will exit early and return null.
367338
If this parameter is set to <a href="../../react4j/annotations/Feature.html#AUTODETECT"><code>Feature.AUTODETECT</code></a> then the annotation processor will inspect the
@@ -386,7 +357,7 @@ <h4>disposable</h4>
386357
<ul class="blockList">
387358
<li class="blockList">
388359
<h4>dependency</h4>
389-
<pre>public abstract&nbsp;<a href="../../react4j/annotations/Feature.html" title="enum in react4j.annotations">Feature</a>&nbsp;<a href="../../src-html/react4j/annotations/Input.html#line.131">dependency</a></pre>
360+
<pre>public abstract&nbsp;<a href="../../react4j/annotations/Feature.html" title="enum in react4j.annotations">Feature</a>&nbsp;<a href="../../src-html/react4j/annotations/Input.html#line.122">dependency</a></pre>
390361
<div class="block">Return an enum indicating whether the view should be disposed if the input is disposed. To enable this feature,
391362
the input MUST set <a href="../../react4j/annotations/Input.html#immutable--"><code>immutable()</code></a> to <code>true</code>, <a href="../../react4j/annotations/Input.html#disposable--"><code>disposable()</code></a> MUST resolve to
392363
<a href="../../react4j/annotations/Feature.html#ENABLE"><code>Feature.ENABLE</code></a>. The type of the input is expected to implement the <a href="https://arez.github.io/api/arez/component/DisposeNotifier.html?is-external=true" title="class or interface in arez.component"><code>DisposeNotifier</code></a>
@@ -412,7 +383,7 @@ <h4>dependency</h4>
412383
<ul class="blockListLast">
413384
<li class="blockList">
414385
<h4>immutable</h4>
415-
<pre>public abstract&nbsp;boolean&nbsp;<a href="../../src-html/react4j/annotations/Input.html#line.156">immutable</a></pre>
386+
<pre>public abstract&nbsp;boolean&nbsp;<a href="../../src-html/react4j/annotations/Input.html#line.147">immutable</a></pre>
416387
<div class="block">True if the input is not expected to change after initial value is set. If the value of the input does change
417388
then it is expected that the view will be unmounted and a new view created. This is implemented
418389
by synthesizing a key for the view every time the view that is derived from this input. To enable this

api/react4j/annotations/View.Type.html

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -226,12 +226,11 @@ <h3>Enum Constant Detail</h3>
226226
<ul class="blockList">
227227
<li class="blockList">
228228
<h4>STATEFUL</h4>
229-
<pre>public static final&nbsp;<a href="../../react4j/annotations/View.Type.html" title="enum in react4j.annotations">View.Type</a> <a href="../../src-html/react4j/annotations/View.Type.html#line.32">STATEFUL</a></pre>
229+
<pre>public static final&nbsp;<a href="../../react4j/annotations/View.Type.html" title="enum in react4j.annotations">View.Type</a> <a href="../../src-html/react4j/annotations/View.Type.html#line.31">STATEFUL</a></pre>
230230
<div class="block">The view can store state in fields, can declared lifecycle methods and may contain methods annotated by
231231
the <a href="../../react4j/annotations/ScheduleRender.html" title="annotation in react4j.annotations"><code>ScheduleRender</code></a> annotation.
232-
The view will be scheduled to re-render if the views container re-renders and any inputs with
233-
<a href="../../react4j/annotations/Input.html#shouldUpdateOnChange--"><code>Input.shouldUpdateOnChange()</code></a> set to <code>true</code> has changed value from last render. A input
234-
is considered changed if when the new value and the old value are passed to
232+
The view will be scheduled to re-render if the views container re-renders and any input has changed
233+
value from last render. A input is considered changed when the new value and the old value are passed to
235234
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Objects.html?is-external=true#equals-java.lang.Object-java.lang.Object-" title="class or interface in java.util"><code>Objects.equals(Object, Object)</code></a> and that method returns <code>false</code>. A view will also
236235
be scheduled to re-render if the view invokes a method annotated by the <a href="../../react4j/annotations/ScheduleRender.html" title="annotation in react4j.annotations"><code>ScheduleRender</code></a> annotation.</div>
237236
</li>
@@ -242,7 +241,7 @@ <h4>STATEFUL</h4>
242241
<ul class="blockList">
243242
<li class="blockList">
244243
<h4>TRACKING</h4>
245-
<pre>public static final&nbsp;<a href="../../react4j/annotations/View.Type.html" title="enum in react4j.annotations">View.Type</a> <a href="../../src-html/react4j/annotations/View.Type.html#line.37">TRACKING</a></pre>
244+
<pre>public static final&nbsp;<a href="../../react4j/annotations/View.Type.html" title="enum in react4j.annotations">View.Type</a> <a href="../../src-html/react4j/annotations/View.Type.html#line.36">TRACKING</a></pre>
246245
<div class="block">The view is a <a href="../../react4j/annotations/View.Type.html#STATEFUL"><code>STATEFUL</code></a> view <b>and</b> will re-render the view if any Arez
247246
dependencies change. The framework uses the <a href="https://arez.github.io/api/arez/annotations/Observe.html?is-external=true" title="class or interface in arez.annotations"><code>Observe</code></a> annotation to track Arez dependencies.</div>
248247
</li>
@@ -253,7 +252,7 @@ <h4>TRACKING</h4>
253252
<ul class="blockList">
254253
<li class="blockList">
255254
<h4>MAYBE_TRACKING</h4>
256-
<pre>public static final&nbsp;<a href="../../react4j/annotations/View.Type.html" title="enum in react4j.annotations">View.Type</a> <a href="../../src-html/react4j/annotations/View.Type.html#line.42">MAYBE_TRACKING</a></pre>
255+
<pre>public static final&nbsp;<a href="../../react4j/annotations/View.Type.html" title="enum in react4j.annotations">View.Type</a> <a href="../../src-html/react4j/annotations/View.Type.html#line.41">MAYBE_TRACKING</a></pre>
257256
<div class="block">The view is a <a href="../../react4j/annotations/View.Type.html#TRACKING"><code>TRACKING</code></a> view but it will not generate an invariant failure if a
258257
render results in zero Arez dependencies.</div>
259258
</li>
@@ -264,7 +263,7 @@ <h4>MAYBE_TRACKING</h4>
264263
<ul class="blockListLast">
265264
<li class="blockList">
266265
<h4>NO_RENDER</h4>
267-
<pre>public static final&nbsp;<a href="../../react4j/annotations/View.Type.html" title="enum in react4j.annotations">View.Type</a> <a href="../../src-html/react4j/annotations/View.Type.html#line.48">NO_RENDER</a></pre>
266+
<pre>public static final&nbsp;<a href="../../react4j/annotations/View.Type.html" title="enum in react4j.annotations">View.Type</a> <a href="../../src-html/react4j/annotations/View.Type.html#line.47">NO_RENDER</a></pre>
268267
<div class="block">The view must not have a method annotated with <a href="../../react4j/annotations/Render.html" title="annotation in react4j.annotations"><code>Render</code></a>.
269268
This is useful for "view" instances that provide capabilities or interact
270269
with services and thus need not have a render method.</div>

api/react4j/annotations/View.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ <h3>Element Detail</h3>
159159
<li class="blockList">
160160
<h4>name</h4>
161161
<pre><a href="https://docs.oracle.com/javase/8/docs/api/javax/annotation/Nonnull.html?is-external=true" title="class or interface in javax.annotation">@Nonnull</a>
162-
public abstract&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../src-html/react4j/annotations/View.html#line.62">name</a></pre>
162+
public abstract&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../src-html/react4j/annotations/View.html#line.61">name</a></pre>
163163
<div class="block">Return the name of the view.
164164
The value defaults to the simple name name of the class. If the value is specified, the
165165
value must conform to the requirements of a java identifier. It should also be unique
@@ -186,7 +186,7 @@ <h4>name</h4>
186186
<li class="blockList">
187187
<h4>type</h4>
188188
<pre><a href="https://docs.oracle.com/javase/8/docs/api/javax/annotation/Nonnull.html?is-external=true" title="class or interface in javax.annotation">@Nonnull</a>
189-
public abstract&nbsp;<a href="../../react4j/annotations/View.Type.html" title="enum in react4j.annotations">View.Type</a>&nbsp;<a href="../../src-html/react4j/annotations/View.html#line.72">type</a></pre>
189+
public abstract&nbsp;<a href="../../react4j/annotations/View.Type.html" title="enum in react4j.annotations">View.Type</a>&nbsp;<a href="../../src-html/react4j/annotations/View.html#line.71">type</a></pre>
190190
<div class="block">Enum indicating the capabilities of the view.
191191
See the <a href="../../react4j/annotations/View.Type.html" title="enum in react4j.annotations"><code>View.Type</code></a> enum for further details.</div>
192192
<dl>
@@ -210,7 +210,7 @@ <h4>type</h4>
210210
<ul class="blockList">
211211
<li class="blockList">
212212
<h4>inject</h4>
213-
<pre>public abstract&nbsp;<a href="../../react4j/annotations/Feature.html" title="enum in react4j.annotations">Feature</a>&nbsp;<a href="../../src-html/react4j/annotations/View.html#line.85">inject</a></pre>
213+
<pre>public abstract&nbsp;<a href="../../react4j/annotations/Feature.html" title="enum in react4j.annotations">Feature</a>&nbsp;<a href="../../src-html/react4j/annotations/View.html#line.84">inject</a></pre>
214214
<div class="block">Enum controlling whether javax.inject integration is generated for the view.
215215
The generated class is the same name as the view with the "Factory" suffix.
216216
React4j only supports constructor injection and thus this MUST NOT be set to <a href="../../react4j/annotations/Feature.html#ENABLE"><code>Feature.ENABLE</code></a>
@@ -237,7 +237,7 @@ <h4>inject</h4>
237237
<ul class="blockListLast">
238238
<li class="blockList">
239239
<h4>sting</h4>
240-
<pre>public abstract&nbsp;<a href="../../react4j/annotations/Feature.html" title="enum in react4j.annotations">Feature</a>&nbsp;<a href="../../src-html/react4j/annotations/View.html#line.98">sting</a></pre>
240+
<pre>public abstract&nbsp;<a href="../../react4j/annotations/Feature.html" title="enum in react4j.annotations">Feature</a>&nbsp;<a href="../../src-html/react4j/annotations/View.html#line.97">sting</a></pre>
241241
<div class="block">Enum controlling whether Sting injection integration is generated for the view.
242242
The generated class is the same name as the view with the "Factory" suffix.
243243
React4j only supports constructor injection and thus this MUST NOT be set to <a href="../../react4j/annotations/Feature.html#ENABLE"><code>Feature.ENABLE</code></a>

0 commit comments

Comments
 (0)