/** * This is a factory method for this AccumulateFunction configuration. * The factory method is a best practice for the case where the * actual object construction is changed in the future. * * @param name the name of the function to be configured * * @return the actual type safe accumulate function configuration. */ public static AccumulateFunctionOption get( final String name, final AccumulateFunction function ) { return new AccumulateFunctionOption( name, function ); }