Interface WorkResult


public interface WorkResult
Provides information about some work which was performed.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    default WorkResult
    or(WorkResult other)
    Returns this result if it did work, otherwise returns the result given as a parameter.
  • Method Details

    • getDidWork

      boolean getDidWork()
    • or

      default WorkResult or(WorkResult other)
      Returns this result if it did work, otherwise returns the result given as a parameter.
      Since:
      6.0