File tree Expand file tree Collapse file tree 5 files changed +25
-1
lines changed
main/java/com/vailsys/freeclimb/percl
java/com/vailsys/freeclimb/percl
resources/com/vailsys/freeclimb/percl Expand file tree Collapse file tree 5 files changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,11 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
7
7
## [ Unreleased]
8
8
None
9
9
10
+ <a name =" 3.0.3 " ></a >
11
+ ## [ 3.0.3] - 2020-12-16
12
+ ### Added
13
+ - Add ` privacyMode ` option to RecordUtterance PerCL command
14
+
10
15
<a name =" 3.0.2 " ></a >
11
16
## [ 3.0.2] - 2020-12-16
12
17
### Added
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ group = 'com.github.FreeClimbAPI'
9
9
10
10
sourceCompatibility = 1.7 // java 7
11
11
targetCompatibility = 1.7
12
- version = ' 3.0.2 '
12
+ version = ' 3.0.3 '
13
13
14
14
repositories {
15
15
mavenCentral()
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ public class RecordUtterance extends PerCLCommand {
7
7
private Integer maxLengthSec ;
8
8
private Boolean playBeep ;
9
9
private Boolean autoStart ;
10
+ private Boolean privacyMode ;
10
11
11
12
public RecordUtterance (String actionUrl ) {
12
13
this .setActionUrl (actionUrl );
@@ -40,6 +41,10 @@ public Boolean getAutoStart() {
40
41
return this .autoStart ;
41
42
}
42
43
44
+ public Boolean getPrivacyMode () {
45
+ return this .privacyMode ;
46
+ }
47
+
43
48
public void setActionUrl (String actionUrl ) {
44
49
this .actionUrl = actionUrl ;
45
50
}
@@ -67,4 +72,8 @@ public void setPlayBeep(Boolean playBeep) {
67
72
public void setAutoStart (Boolean autoStart ) {
68
73
this .autoStart = autoStart ;
69
74
}
75
+
76
+ public void setPrivacyMode (Boolean privacyMode ) {
77
+ this .privacyMode = privacyMode ;
78
+ }
70
79
}
Original file line number Diff line number Diff line change @@ -85,6 +85,10 @@ public void setPlayBeep(Boolean playBeep) {
85
85
public void setAutoStart (Boolean autoStart ) {
86
86
this .command .setAutoStart (autoStart );
87
87
}
88
+ @ Then ("^set privacyMode to (true|false) in the RecordUtterance object$" )
89
+ public void setPrivacyMode (Boolean privacyMode ) {
90
+ this .command .setPrivacyMode (privacyMode );
91
+ }
88
92
89
93
@ Then ("^check that actionUrl is (.+) in the RecordUtterance object$" )
90
94
public void getActionUrl (String actionUrl ) {
@@ -110,4 +114,8 @@ public void getPlayBeep(Boolean playBeep) {
110
114
public void getAutoStart (Boolean autoStart ) {
111
115
assertThat (this .command .getAutoStart (), is (autoStart ));
112
116
}
117
+ @ Then ("^check that privacyMode is (true|false) in the RecordUtterance object$" )
118
+ public void getPrivacyMode (Boolean privacyMode ) {
119
+ assertThat (this .command .getPrivacyMode (), is (privacyMode ));
120
+ }
113
121
}
Original file line number Diff line number Diff line change @@ -18,3 +18,5 @@ Feature: RecordUtterance
18
18
Then check that playBeep is true in the RecordUtterance object
19
19
Then set autoStart to false in the RecordUtterance object
20
20
Then check that autoStart is false in the RecordUtterance object
21
+ Then set privacyMode to true in the RecordUtterance object
22
+ Then check that privacyMode is true in the RecordUtterance object
You can’t perform that action at this time.
0 commit comments