Skip to content

Commit 8c31358

Browse files
authored
docs: add snipsync lines to envconfig samples (#763)
* docs: add snipsync lines to envconfig samples * docs: fix gradle format issues
1 parent d3b90e6 commit 8c31358

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

core/src/main/java/io/temporal/samples/envconfig/LoadFromFile.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
package io.temporal.samples.envconfig;
22

3+
/**
4+
* @@@SNIPSTART java-env-config-profile
5+
*/
36
import io.temporal.client.WorkflowClient;
47
import io.temporal.client.WorkflowClientOptions;
58
import io.temporal.envconfig.ClientConfigProfile;
@@ -77,3 +80,6 @@ public static void main(String[] args) {
7780
}
7881
}
7982
}
83+
/**
84+
* @@@SNIPEND
85+
*/

core/src/main/java/io/temporal/samples/envconfig/LoadProfile.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
package io.temporal.samples.envconfig;
22

3+
/**
4+
* @@@SNIPSTART java-env-config-profile-with-overrides
5+
*/
36
import io.temporal.client.WorkflowClient;
47
import io.temporal.client.WorkflowClientOptions;
58
import io.temporal.envconfig.ClientConfigProfile;
@@ -85,3 +88,6 @@ public static void main(String[] args) {
8588
}
8689
}
8790
}
91+
/**
92+
* @@@SNIPEND
93+
*/

0 commit comments

Comments
 (0)