Class CanaryTimeline

    • Method Detail

      • created

        public final Instant created()

        The date and time the canary was created.

        Returns:
        The date and time the canary was created.
      • lastModified

        public final Instant lastModified()

        The date and time the canary was most recently modified.

        Returns:
        The date and time the canary was most recently modified.
      • lastStarted

        public final Instant lastStarted()

        The date and time that the canary's most recent run started.

        Returns:
        The date and time that the canary's most recent run started.
      • lastStopped

        public final Instant lastStopped()

        The date and time that the canary's most recent run ended.

        Returns:
        The date and time that the canary's most recent run ended.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)