Class GetScheduleResult

java.lang.Object
io.fluxcapacitor.common.api.scheduling.GetScheduleResult
All Implemented Interfaces:
JsonType, RequestResult

public class GetScheduleResult extends Object implements RequestResult
Response to a GetSchedule request, containing the matching SerializedSchedule, if found.
  • Constructor Details

    • GetScheduleResult

      public GetScheduleResult()
  • Method Details

    • toMetric

      public Object toMetric()
      Description copied from interface: JsonType
      Converts this object into a compact metric representation for logging or monitoring.

      Used by the Flux client to avoid logging large payloads directly while still tracking platform usage.

      Specified by:
      toMetric in interface JsonType
      Returns:
      a safe and compact object suitable for serialization to the metrics log