package be.thibaulthelsmoortel.navigationbuilder;

/**
 * Utilities to perform navigation operations.
 *
 * @author Thibault Helsmoortel
 */
public class NavigationUtils {

    /**
     * Returns a builder for navigation creation.
     *
     * @return the builder for navigation creation
     */
    public static NavigateBuilder navigate() {
        return new NavigateBuilder();
    }
}
package be.thibaulthelsmoortel.navigationbuilder;

/**
 * Utilities to perform navigation operations.
 *
 * @author Thibault Helsmoortel
 */
public class NavigationUtils {

    /**
     * Returns a builder for navigation creation.
     *
     * @return the builder for navigation creation
     */
    public static NavigateBuilder navigate() {
        return new NavigateBuilder();
    }


    /**
     * Returns a pre-configured reload navigation.
     *
     * @return a pre-configured reload navigation
     */
    public static NavigateBuilder createReloadNavigation() {
        NavigateBuilder navigateBuilder = new NavigateBuilder();
        navigateBuilder.reload();
        return navigateBuilder;
    }
}
Add util method for creating pre-configured reload navigation
Add util method for creating pre-configured reload navigation
