Package jason.runtime
Class Settings
java.lang.Object
jason.runtime.Settings
- All Implemented Interfaces:
Serializable
MAS Runtime Settings for an Agent (from mas2j file, agent declaration)
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add user defined optionboolean
discard()
getUserParameter
(String key) boolean
boolean
boolean
isSync()
returns true if the execution is synchronisedboolean
isTROon()
logLevel()
boolean
newFocus()
int
nrcbp()
boolean
requeue()
boolean
retrieve()
boolean
void
setEvents
(byte opt) void
setIntBels
(boolean opt) void
setNRCBP
(int opt) void
void
setOptions
(String options) void
setOptions
(Map<String, Object> options) void
setQueryCache
(boolean b) void
setQueryProfiling
(boolean b) void
setSync
(boolean pSync) void
setTRO
(boolean tro) void
setVerbose
(int opt) void
setVerbose
(String opt) int
verbose()
-
Field Details
-
ODiscard
public static final byte ODiscard- See Also:
-
ORequeue
public static final byte ORequeue- See Also:
-
ORetrieve
public static final byte ORetrieve- See Also:
-
OSameFocus
public static final boolean OSameFocus- See Also:
-
ONewFocus
public static final boolean ONewFocus- See Also:
-
ODefaultNRC
public static final int ODefaultNRC- See Also:
-
ODefaultVerbose
public static final int ODefaultVerbose- See Also:
-
ODefaultSync
public static final boolean ODefaultSync- See Also:
-
PROJECT_PARAMETER
- See Also:
-
INIT_BELS
- See Also:
-
INIT_GOALS
- See Also:
-
MIND_INSPECTOR
- See Also:
-
-
Constructor Details
-
Settings
public Settings() -
Settings
-
-
Method Details
-
setOptions
-
setOptions
-
addOption
add user defined option -
setEvents
public void setEvents(byte opt) -
setIntBels
public void setIntBels(boolean opt) -
setNRCBP
-
setNRCBP
public void setNRCBP(int opt) -
setVerbose
-
setVerbose
public void setVerbose(int opt) -
discard
public boolean discard() -
requeue
public boolean requeue() -
retrieve
public boolean retrieve() -
sameFocus
public boolean sameFocus() -
newFocus
public boolean newFocus() -
nrcbp
public int nrcbp() -
verbose
public int verbose() -
logLevel
-
isSync
public boolean isSync()returns true if the execution is synchronised -
setSync
public void setSync(boolean pSync) -
isTROon
public boolean isTROon() -
setTRO
public void setTRO(boolean tro) -
hasQueryCache
public boolean hasQueryCache() -
setQueryCache
public void setQueryCache(boolean b) -
hasQueryProfiling
public boolean hasQueryProfiling() -
setQueryProfiling
public void setQueryProfiling(boolean b) -
getUserParameters
-
getUserParameter
-
removeUserParameter
-