|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.bundle.BundleResult
public class BundleResult
the BundleResult is used to collect all subresults of a
Bundle during a single execution.
| Constructor Summary | |
|---|---|
BundleResult(java.lang.String name)
builds a new BundleResult with the given name. |
|
| Method Summary | |
|---|---|
void |
addResult(java.lang.String controllerName,
java.lang.Object result)
is called by BundleInvoker to add the Result of
a Controller. |
org.jdom.Element |
deserializeToJDOM()
this will deserialize the state of the JDOMable as a JDOM
Element. |
boolean |
hadAction()
|
void |
setBundleName(java.lang.String name)
sets the name of the Bundle the BundleResult is
used for. |
void |
setHadAction(boolean act)
indicating whether the Bundle which produced the
BundleResult was explicitly called by a Command
. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BundleResult(java.lang.String name)
BundleResult with the given name.
name - the name of the Bundle| Method Detail |
|---|
public final org.jdom.Element deserializeToJDOM()
JDOMableJDOMable as a JDOM
Element.
deserializeToJDOM in interface JDOMableResult of the BundleJDOMable.deserializeToJDOM()
public final void addResult(java.lang.String controllerName,
java.lang.Object result)
BundleInvoker to add the Result of
a Controller.
controllerName - the full qualified class name of the Controllerresult - the Result of the Controllerpublic final void setBundleName(java.lang.String name)
Bundle the BundleResult is
used for.
name - the name to setpublic final boolean hadAction()
true, if the Bundle which
produced the BundleResult was explicitly called by a
Command. Otherwise false.public final void setHadAction(boolean act)
Bundle which produced the
BundleResult was explicitly called by a Command
.
act - The flag to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||