Interface Trigger

All Known Implementing Classes:
DirectoryTrigger, FileTrigger, UriTrigger

public interface Trigger
Interface for classes which evaluate when to reload configuration.
Author:
Ville Koskela (ville dot koskela at inscopemetrics dot io)
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Evaluate the trigger.
  • Method Details

    • evaluateAndReset

      boolean evaluateAndReset()
      Evaluate the trigger. True indicates the trigger has been tripped. Evaluating the trigger will reset its state and the trigger will not return true again until it is tripped again.
      Returns:
      True if and only if the trigger has been tripped.