BrightSide Workbench Full Report + Source Code
org.turro.visual.RoleUtil Class Reference

Static Public Member Functions

static HashSet< String > getStringRoles (IDossierParticipant dp)
 
static HashSet< String > getRoleLabels (IDossierParticipant dp)
 
static HashSet< String > getStringRoles (IssueParticipant ip)
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 31 of file RoleUtil.java.

Member Function Documentation

◆ getRoleLabels()

static HashSet<String> org.turro.visual.RoleUtil.getRoleLabels ( IDossierParticipant  dp)
static

Definition at line 45 of file RoleUtil.java.

45  {
46  HashSet<String> set = new HashSet<>();
47  for(String label : getAttributeStringRoles(dp)) {
48  set.add(I_.get(label));
49  }
50  if(!Strings.isBlank(dp.getDiscriminator())) {
51  set.add(dp.getDiscriminator());
52  }
53  set.add(I_.byKey(dp.getRole().toString()));
54  return set;
55  }
Here is the call graph for this function:

◆ getStringRoles() [1/2]

static HashSet<String> org.turro.visual.RoleUtil.getStringRoles ( IDossierParticipant  dp)
static

Definition at line 35 of file RoleUtil.java.

35  {
36  HashSet<String> set = new HashSet<>();
37  set.addAll(getAttributeStringRoles(dp));
38  if(!Strings.isBlank(dp.getDiscriminator())) {
39  set.add(dp.getDiscriminator());
40  }
41  set.add(dp.getRole().name());
42  return set;
43  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getStringRoles() [2/2]

static HashSet<String> org.turro.visual.RoleUtil.getStringRoles ( IssueParticipant  ip)
static

Definition at line 91 of file RoleUtil.java.

91  {
92  HashSet<String> set = new HashSet<>();
93  set.add(ip.getRole().name());
94  return set;
95  }
Here is the call graph for this function:

The documentation for this class was generated from the following file: