|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.stripes.tools.EventInfo
public class EventInfo
Encapsulates meta-information about a single event within an ActionBean. This class is not
used at runtime in Stripes, but is used by the SiteStructureTool
to collect and
report on information about ActionBeans.
Constructor Summary | |
---|---|
EventInfo()
|
Method Summary | |
---|---|
void |
addResolution(String outcome)
Adds a resolution to the set of possible resolutions for the event. |
String |
getMethodName()
The name of the method in the ActionBean that handles the event. |
String |
getName()
The name of the event (possibly null in the case of default events). |
Collection<String> |
getResolutions()
The set of all possible resolutions for the event. |
boolean |
isDefaultEvent()
True if the event is the default event for the ActionBean, false otherwise. |
void |
setDefaultEvent(boolean defaultEvent)
True if the event is the default event for the ActionBean, false otherwise. |
void |
setMethodName(String methodName)
The name of the method in the ActionBean that handles the event. |
void |
setName(String name)
The name of the event (possibly null in the case of default events). |
void |
setResolutions(Collection<String> resolutions)
The set of all possible resolutions for the event. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EventInfo()
Method Detail |
---|
public String getName()
public void setName(String name)
public String getMethodName()
public void setMethodName(String methodName)
public boolean isDefaultEvent()
public void setDefaultEvent(boolean defaultEvent)
public void addResolution(String outcome)
public Collection<String> getResolutions()
public void setResolutions(Collection<String> resolutions)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |