snowplow / snowplow-java-tracker

Snowplow event tracker for Java. Add analytics to your Java desktop and server apps, servlets and games. (See also: snowplow-android-tracker)
http://snowplowanalytics.com
Apache License 2.0
23 stars 36 forks source link

Standardise API for Tracker and Subject Builders (close #302) #350

Closed mscwilson closed 2 years ago

mscwilson commented 2 years ago

For issue #302.

Standardise the API for constructing new Tracker and Subject objects. The new API - Subject.builder().build() is consistent with that of Event and BatchEmitter objects.

The old API - new Subject.SubjectBuilder().build() still works! It's not a breaking change.