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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd user defined optionbooleandiscard()getUserParameter(String key) booleanbooleanbooleanisSync()returns true if the execution is synchronisedbooleanisTROon()logLevel()booleannewFocus()intnrcbp()booleanrequeue()booleanretrieve()booleanvoidsetEvents(byte opt) voidsetIntBels(boolean opt) voidsetNRCBP(int opt) voidvoidsetOptions(String options) voidsetOptions(Map<String, Object> options) voidsetQueryCache(boolean b) voidsetQueryProfiling(boolean b) voidsetSync(boolean pSync) voidsetTRO(boolean tro) voidsetVerbose(int opt) voidsetVerbose(String opt) intverbose()
-
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
-