code: public void addProfile(Profile profile) {
          if (PROFILE_KIND.equals(profile.getKind())) {
              this.profileList.add(profile.getSettings());
          }
      }
docs: Adds the profile.
  
  @param profile
  the profile