BrightSide Workbench Full Report + Source Code
org.turro.dossier.grant.ProjectGrantContext Class Reference

Public Member Functions

String getAttribute (String attribute)
 
String getAttribute (String attribute, String defaultValue)
 

Static Public Member Functions

static String getProjectGrantContextAttribute (String attribute, String defaultValue)
 
static List< String > getProjectGrantSourceList ()
 
static List< String > getRecipients (IConstructor constructor)
 

Detailed Description

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

Definition at line 30 of file ProjectGrantContext.java.

Member Function Documentation

◆ getAttribute() [1/2]

String org.turro.dossier.grant.ProjectGrantContext.getAttribute ( String  attribute)

Definition at line 32 of file ProjectGrantContext.java.

32  {
33  return getAttribute(attribute, null);
34  }

◆ getAttribute() [2/2]

String org.turro.dossier.grant.ProjectGrantContext.getAttribute ( String  attribute,
String  defaultValue 
)

Definition at line 36 of file ProjectGrantContext.java.

36  {
37  return getProjectGrantContextAttribute(attribute, defaultValue);
38  }
static String getProjectGrantContextAttribute(String attribute, String defaultValue)
Here is the call graph for this function:

◆ getProjectGrantContextAttribute()

static String org.turro.dossier.grant.ProjectGrantContext.getProjectGrantContextAttribute ( String  attribute,
String  defaultValue 
)
static

Definition at line 44 of file ProjectGrantContext.java.

44  {
45  return ElephantProperties.getContextProperty(PROJECT_GRANT_CONTEXT, attribute, defaultValue);
46  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getProjectGrantSourceList()

static List<String> org.turro.dossier.grant.ProjectGrantContext.getProjectGrantSourceList ( )
static

Definition at line 48 of file ProjectGrantContext.java.

48  {
49  return ElephantProperties.getContextPrefixedProperties(PROJECT_GRANT_CONTEXT, "source_");
50  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getRecipients()

static List<String> org.turro.dossier.grant.ProjectGrantContext.getRecipients ( IConstructor  constructor)
static

Definition at line 52 of file ProjectGrantContext.java.

52  {
53  String recipients = getProjectGrantContextAttribute("recipients", "dossier_admin,patron,partner");
54  return Arrays.asList(recipients.split("\\s*,\\s*"));
55  }
Here is the call graph for this function:

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