code: public void registerView(final ServiceValidationViewTypes type, final Pair<View, View> view) {
          registerView(type.getType(), view);
      }
docs: Register view.
  
  @param type the type
  @param view the view