/** * This is a factory method for this WorkItemHandler 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 work item handler to be configured * * @return the actual type safe work item handler configuration. */ public static WorkItemHandlerOption get( final String name, final WorkItemHandler handler ) { return new WorkItemHandlerOption( name, handler ); }
/** * This is a factory method for this WorkItemHandler 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 work item handler to be configured * * @return the actual type safe work item handler configuration. */ public static WorkItemHandlerOption get( final String name, final WorkItemHandler handler ) { return new WorkItemHandlerOption( name, handler ); }