BrightSide Workbench Full Report + Source Code
org.turro.action.DefaultPlugin Class Referenceabstract
Inheritance diagram for org.turro.action.DefaultPlugin:
Collaboration diagram for org.turro.action.DefaultPlugin:

Public Member Functions

void setContext (Map< String, Object > params, Map< String, Object > results)
 
Object getParam (String key)
 
boolean itsMe (String name)
 
abstract String getName ()
 
abstract boolean stopPropagating ()
 
abstract void execute ()
 
Object addResult (String key, Object value)
 

Protected Attributes

Map< String, Object > params
 
Map< String, Object > results
 

Detailed Description

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

Definition at line 27 of file DefaultPlugin.java.

Member Function Documentation

◆ addResult()

Object org.turro.action.DefaultPlugin.addResult ( String  key,
Object  value 
)

Definition at line 56 of file DefaultPlugin.java.

56  {
57  return results != null ? results.put(key, value) : null;
58  }
Map< String, Object > results
Here is the caller graph for this function:

◆ execute()

◆ getName()

◆ getParam()

Object org.turro.action.DefaultPlugin.getParam ( String  key)

Implements org.turro.action.IElephantPlugin.

Definition at line 39 of file DefaultPlugin.java.

39  {
40  return params != null ? params.get(key) : null;
41  }
Map< String, Object > params
Here is the caller graph for this function:

◆ itsMe()

boolean org.turro.action.DefaultPlugin.itsMe ( String  name)

Implements org.turro.action.IElephantPlugin.

Definition at line 44 of file DefaultPlugin.java.

44  {
45  return getName().equals(name);
46  }
Here is the call graph for this function:

◆ setContext()

void org.turro.action.DefaultPlugin.setContext ( Map< String, Object >  params,
Map< String, Object >  results 
)

Implements org.turro.action.IElephantPlugin.

Definition at line 33 of file DefaultPlugin.java.

33  {
34  this.params = params;
35  this.results = results;
36  }

◆ stopPropagating()

Member Data Documentation

◆ params

Map<String, Object> org.turro.action.DefaultPlugin.params
protected

Definition at line 29 of file DefaultPlugin.java.

◆ results

Map<String, Object> org.turro.action.DefaultPlugin.results
protected

Definition at line 30 of file DefaultPlugin.java.


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