org.micropsi.common.consoleservice
Interface AnswerTypesIF


public interface AnswerTypesIF


Field Summary
static int ANSWER_TYPE_COMPLEX_MESSAGE
          A complex answer.
static int ANSWER_TYPE_ERROR
          No real answer but a confirmation that the question was executed and a notification of the fact that the execution failed.
static int ANSWER_TYPE_OK
          No real answer, just a confirmation that the question was executed
static int ANSWER_TYPE_STRING
          A simple string answer.
 

Field Detail

ANSWER_TYPE_STRING

public static final int ANSWER_TYPE_STRING
A simple string answer. The content field of the AnswerIF will be of type String.

See Also:
Constant Field Values

ANSWER_TYPE_OK

public static final int ANSWER_TYPE_OK
No real answer, just a confirmation that the question was executed

See Also:
Constant Field Values

ANSWER_TYPE_ERROR

public static final int ANSWER_TYPE_ERROR
No real answer but a confirmation that the question was executed and a notification of the fact that the execution failed. The content field MAY contain a String with an error description, but it may also be null.

See Also:
Constant Field Values

ANSWER_TYPE_COMPLEX_MESSAGE

public static final int ANSWER_TYPE_COMPLEX_MESSAGE
A complex answer. The question type itself determines the type of the "content" value of the answer. (In all current implementations it is of type @link de.artificialemotion.common.message.MTreeNode)

See Also:
Constant Field Values

(c) by Micropsi Project: http://www.cognitive-agents.org

.