Class FluentApiExample

  • All Implemented Interfaces:
    Example

    public class FluentApiExample
    extends Object
    implements Example
    Example demonstrating the Result-based API for developers who prefer a more declarative approach without exceptions.
    • Constructor Detail

      • FluentApiExample

        public FluentApiExample()
    • Method Detail

      • getName

        public String getName()
        Description copied from interface: Example
        Get the name of the example to display in the menu
        Specified by:
        getName in interface Example
        Returns:
        The example name
      • run

        public void run()
        Description copied from interface: Example
        Run the example
        Specified by:
        run in interface Example