File tree 2 files changed +7
-1
lines changed
main/java/com/uber/cadence/internal/sync
test/java/com/uber/cadence/internal/sync
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 17
17
18
18
package com .uber .cadence .internal .sync ;
19
19
20
+ import com .google .common .annotations .VisibleForTesting ;
20
21
import com .google .common .base .Joiner ;
21
22
import com .google .common .base .Objects ;
22
23
import com .uber .cadence .PollForActivityTaskResponse ;
@@ -158,6 +159,11 @@ public boolean isAnyTypeSupported() {
158
159
return !activities .isEmpty ();
159
160
}
160
161
162
+ @ VisibleForTesting
163
+ public Set <String > getRegisteredActivityTypes () {
164
+ return activities .keySet ();
165
+ }
166
+
161
167
void setActivitiesImplementation (Object [] activitiesImplementation ) {
162
168
activities .clear ();
163
169
for (Object activity : activitiesImplementation ) {
Original file line number Diff line number Diff line change 15
15
* permissions and limitations under the License.
16
16
*/
17
17
18
- package com .uber .cadence .worker ;
18
+ package com .uber .cadence .internal . sync ;
19
19
20
20
import com .google .common .base .Objects ;
21
21
import com .uber .cadence .activity .ActivityInterface ;
You can’t perform that action at this time.
0 commit comments