Class TestStateConfiguration

    • Method Detail

      • retrierRetryCount

        public final Integer retrierRetryCount()

        The number of retry attempts that have occurred for the state's Retry that applies to the mocked error.

        Returns:
        The number of retry attempts that have occurred for the state's Retry that applies to the mocked error.
      • errorCausedByState

        public final String errorCausedByState()

        The name of the state from which an error originates when an error is mocked for a Map or Parallel state.

        Returns:
        The name of the state from which an error originates when an error is mocked for a Map or Parallel state.
      • mapIterationFailureCount

        public final Integer mapIterationFailureCount()

        The number of Map state iterations that failed during the Map state invocation.

        Returns:
        The number of Map state iterations that failed during the Map state invocation.
      • mapItemReaderData

        public final String mapItemReaderData()

        The data read by ItemReader in Distributed Map states as found in its original source.

        Returns:
        The data read by ItemReader in Distributed Map states as found in its original source.
      • 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)