File tree Expand file tree Collapse file tree 3 files changed +27
-5
lines changed Expand file tree Collapse file tree 3 files changed +27
-5
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ buildscript {
13
13
plugins {
14
14
id ' jacoco'
15
15
id " org.sonarqube" version " 3.0"
16
+ id ' org.asciidoctor.jvm.convert' version ' 3.1.0'
16
17
}
17
18
18
19
sonarqube {
@@ -23,5 +24,18 @@ sonarqube {
23
24
}
24
25
}
25
26
27
+ repositories {
28
+ jcenter()
29
+ }
30
+
31
+ asciidoctor {
32
+ sourceDir file(' docs/asciidoc' )
33
+ baseDir file(' docs/asciidoc' )
34
+ sources {
35
+ include ' index.asciidoc'
36
+ }
37
+ outputDir file(' build/docs' )
38
+ }
39
+
26
40
apply from : ' ./main.gradle'
27
41
apply plugin : ' com.github.ben-manes.versions'
Original file line number Diff line number Diff line change @@ -219,6 +219,10 @@ Where the EventHandler interface signature is:
219
219
--------
220
220
public interface EventHandler<T> extends GenericHandler<Void, DomainEvent<T>> {
221
221
}
222
+
223
+ public interface GenericHandler<T, M> {
224
+ Mono<T> handle(M message);
225
+ }
222
226
--------
223
227
224
228
[NOTE]
@@ -257,6 +261,10 @@ Where the CommandHandler interface signature is:
257
261
--------
258
262
public interface CommandHandler<T> extends GenericHandler<Void, Command<T>> {
259
263
}
264
+
265
+ public interface GenericHandler<T, M> {
266
+ Mono<T> handle(M message);
267
+ }
260
268
--------
261
269
[NOTE]
262
270
The return type of the CommandHandler is Void
Original file line number Diff line number Diff line change 1
1
= Reactive Commons Reference Guide
2
2
Daniel Bustamante Ospina
3
3
// version is automatically set in doc.gradle, no need to change it here
4
- :appversion: 0.6.2
4
+ :appversion: 0.6.2-ignored-value
5
5
ifndef::host-github[:ext-relative: {outfilesuffix}]
6
- {appversion}
7
6
:doctype: book
8
- :toc:
7
+ :toc: left
9
8
:toclevels: 4
10
9
:source-highlighter: prettify
11
10
:numbered:
12
11
:icons: font
13
12
:hide-uri-scheme:
14
- :imagesdir: images
13
+ :stylesheet: stylesheets/asciidoctor.css
14
+ :linkcss:
15
15
16
16
:github-repo: reactive-commons
17
17
:github-code: https://github.com/{github-repo}
@@ -26,4 +26,4 @@ include::api-guide.adoc[]
26
26
// ======================================================================================
27
27
28
28
// Command to HTML export
29
- // asciidoctor -a linkcss -a stylesheet=asciidoctor.css -a toc2 -a stylesdir=./stylesheets index.asciidoc
29
+ // asciidoctor -a linkcss -a stylesheet=asciidoctor.css -a toc2 -a stylesdir=./stylesheets index.asciidoc
You can’t perform that action at this time.
0 commit comments