|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.zion.jbuddy.bots.BotActionResultType
public class BotActionResultType
Available action result types. The engine sends different result content to the user depending on an action's result type.
BotAction
Field Summary | |
---|---|
static BotActionResultType |
FILE
Results are written to a temporary file and sent to the user as a BotFile . |
static BotActionResultType |
HTML
Results are processed as HTML (rich content) and sent to the user as BotContent . |
static BotActionResultType |
NONE
No results are returned. |
static BotActionResultType |
STRING
Results are processed as a literal string (plain content) and sent to the user as BotContent . |
static BotActionResultType |
XHTML
Results are processed as XHTML (rich content) and sent to the user as BotContent . |
static BotActionResultType |
XML
Results are processed as Bot Definition XML. |
Method Summary | |
---|---|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static BotActionResultType STRING
BotContent
. Formatting tags within the string are
NOT processed.
public static BotActionResultType HTML
BotContent
.
public static BotActionResultType XHTML
BotContent
.
public static BotActionResultType FILE
BotFile
.
public static BotActionResultType XML
BotCall
and presented to the user as if it
was part of the original Bot Definition.
For example, an XML action could return the following string to present a menu to the user:
public static BotActionResultType NONE
Method Detail |
---|
public String toString()
toString
in class Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |