예제 #1
0
 /** @return a string array of the searchable fields for a model object */
 @Override
 public List<SearchableField> getSearchableStrings() {
   List<SearchableField> searchString = new ArrayList<>();
   searchString.addAll(
       Arrays.asList(
           new SearchableField("Short Name", getShortName()),
           new SearchableField("Description", getDescription())));
   searchString.add(new SearchableField("Members", Utilities.commaSeparatedValues(teamMembers)));
   if (productOwnerProperty().get() != null)
     searchString.add(new SearchableField("PO", getProductOwner().getShortName()));
   if (scrumMasterProperty().get() != null)
     searchString.add(new SearchableField("SM", getScrumMaster().getShortName()));
   return searchString;
 }
예제 #2
0
 public List<Person> getTeamMembers() {
   List<Person> list = new ArrayList<>();
   list.addAll(teamMembers);
   return list;
 }
예제 #3
0
 public List<Person> getDevTeam() {
   List<Person> list = new ArrayList<>();
   list.addAll(devTeam);
   return list;
 }