Class ChangelogRecorderService

java.lang.Object
io.datarouter.changelog.service.ChangelogRecorderService
All Implemented Interfaces:
io.datarouter.instrumentation.changelog.ChangelogRecorder

@Singleton
public class ChangelogRecorderService
extends java.lang.Object
implements io.datarouter.instrumentation.changelog.ChangelogRecorder
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.datarouter.instrumentation.changelog.ChangelogRecorder

    io.datarouter.instrumentation.changelog.ChangelogRecorder.NoOpChangelogRecorder
  • Constructor Summary

    Constructors 
    Constructor Description
    ChangelogRecorderService()  
  • Method Summary

    Modifier and Type Method Description
    void record​(java.lang.String changelogType, java.lang.String name, java.lang.String action, java.lang.String username, java.lang.String comment, java.lang.String note)  
    void recordAndSendEmail​(java.lang.String changelogType, java.lang.String name, java.lang.String action, java.lang.String username, java.util.Optional<java.lang.String> comment, java.util.Optional<java.lang.String> note, java.util.Optional<java.lang.String> additionalSendTos)  
    void update​(io.datarouter.instrumentation.changelog.ChangelogDto changelogDto)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.datarouter.instrumentation.changelog.ChangelogRecorder

    record, record
  • Constructor Details

  • Method Details

    • record

      public void record​(java.lang.String changelogType, java.lang.String name, java.lang.String action, java.lang.String username, java.lang.String comment, java.lang.String note)
      Specified by:
      record in interface io.datarouter.instrumentation.changelog.ChangelogRecorder
    • recordAndSendEmail

      public void recordAndSendEmail​(java.lang.String changelogType, java.lang.String name, java.lang.String action, java.lang.String username, java.util.Optional<java.lang.String> comment, java.util.Optional<java.lang.String> note, java.util.Optional<java.lang.String> additionalSendTos)
      Specified by:
      recordAndSendEmail in interface io.datarouter.instrumentation.changelog.ChangelogRecorder
    • update

      public void update​(io.datarouter.instrumentation.changelog.ChangelogDto changelogDto)
      Specified by:
      update in interface io.datarouter.instrumentation.changelog.ChangelogRecorder