Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Commit

Permalink
FLOW-1634: Add isDebugMode method into ServiceRequest class
Browse files Browse the repository at this point in the history
  • Loading branch information
DaliborDell committed Apr 27, 2020
1 parent 4cfceb5 commit 1aa1b09
Show file tree
Hide file tree
Showing 12 changed files with 19 additions and 11 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.manywho.sdk</groupId>
<artifactId>project</artifactId>
<version>2.0.0</version>
<version>2.0.1-SNAPSHOT</version>
<packaging>pom</packaging>

<modules>
Expand Down
2 changes: 1 addition & 1 deletion sdk-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<artifactId>project</artifactId>
<groupId>com.manywho.sdk</groupId>
<version>2.0.0</version>
<version>2.0.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,12 @@ public FlowMode getExecutionMode() {
public void setExecutionMode(FlowMode executionMode) {
this.executionMode = executionMode;
}

public boolean isDebugMode() {
if (executionMode == null) {
return false;
}

return executionMode.equals(FlowMode.Debug) || executionMode.equals(FlowMode.DebugStepthrough);
}
}
2 changes: 1 addition & 1 deletion sdk-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<artifactId>project</artifactId>
<groupId>com.manywho.sdk</groupId>
<version>2.0.0</version>
<version>2.0.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion sdk-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>project</artifactId>
<groupId>com.manywho.sdk</groupId>
<version>2.0.0</version>
<version>2.0.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion sdk-server-lambda-testing/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<artifactId>project</artifactId>
<groupId>com.manywho.sdk</groupId>
<version>2.0.0</version>
<version>2.0.1-SNAPSHOT</version>
</parent>

<artifactId>sdk-server-lambda-testing</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion sdk-server-lambda/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<artifactId>project</artifactId>
<groupId>com.manywho.sdk</groupId>
<version>2.0.0</version>
<version>2.0.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion sdk-server-resteasy/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<artifactId>project</artifactId>
<groupId>com.manywho.sdk</groupId>
<version>2.0.0</version>
<version>2.0.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion sdk-server-servlet3/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<artifactId>project</artifactId>
<groupId>com.manywho.sdk</groupId>
<version>2.0.0</version>
<version>2.0.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion sdk-server-undertow/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<artifactId>project</artifactId>
<groupId>com.manywho.sdk</groupId>
<version>2.0.0</version>
<version>2.0.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion sdk-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>project</artifactId>
<groupId>com.manywho.sdk</groupId>
<version>2.0.0</version>
<version>2.0.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion sdk-services/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<artifactId>project</artifactId>
<groupId>com.manywho.sdk</groupId>
<version>2.0.0</version>
<version>2.0.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down

0 comments on commit 1aa1b09

Please sign in to comment.