gnu.prolog.vm.buildins.dialogs
Class Predicate_message
java.lang.Object
gnu.prolog.vm.ExecuteOnlyCode
gnu.prolog.vm.buildins.dialogs.Predicate_dialog
gnu.prolog.vm.buildins.dialogs.Predicate_message
- All Implemented Interfaces:
- Installable, PrologCode
public class Predicate_message
- extends Predicate_dialog
- Author:
- Michiel Hendriks
Fields inherited from class gnu.prolog.vm.buildins.dialogs.Predicate_dialog |
ABORT_ATOM, CANCEL_ATOM, DIALOG_OPTION_ATOM, ERROR_ATOM, FILEMASK_TAG, IGNORE_ATOM, INFO_ATOM, MESSAGE_TAG, NO_ATOM, OK_ATOM, QUESTION_ATOM, RETRY_ATOM, SELECTION_TAG, TITLE_TAG, TYPE_TAG, WARNING_ATOM, YES_ATOM |
Method Summary |
int |
execute(Interpreter interpreter,
boolean backtrackMode,
Term[] args)
this method is used for execution of code |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Predicate_message
public Predicate_message()
execute
public int execute(Interpreter interpreter,
boolean backtrackMode,
Term[] args)
throws PrologException
- Description copied from interface:
PrologCode
- this method is used for execution of code
- Specified by:
execute
in interface PrologCode
- Specified by:
execute
in class ExecuteOnlyCode
- Parameters:
interpreter
- interpreter in which context code is executedbacktrackMode
- true if predicate is called on backtracking and false otherwiseargs
- arguments of code
- Returns:
- either SUCCESS, SUCCESS_LAST, or FAIL.
- Throws:
PrologException