Package ora4mas.simple
Class SimpleNormativeBoard
java.lang.Object
cartago.Artifact
ora4mas.nopl.OrgArt
ora4mas.nopl.NormativeBoard
ora4mas.simple.SimpleNormativeBoard
- All Implemented Interfaces:
ToXML,npl.DynamicFactsProvider
public class SimpleNormativeBoard extends NormativeBoard
Artifact to manage a normative program (NPL)
Operations (see details in the methods list below):
Operations (see details in the methods list below):
- load a NPL program
- addFact
- removeFact
- addNorm
- obligation(ag,reason,goal,deadline): current active obligations.
e.g.
obligation(bob,n4,committed(ag2,mBib,s1),1475417322254)
- Author:
- Jomi
- See Also:
SchemeBoard
-
Nested Class Summary
Nested classes/interfaces inherited from class cartago.Artifact
cartago.Artifact.AbstractAsyncProcess -
Field Summary
Fields Modifier and Type Field Description (package private) npl.INPLFactoryfactory(package private) intidprotected java.util.logging.LoggerloggerFields inherited from class ora4mas.nopl.NormativeBoard
dynProviders, normBoardsFields inherited from class ora4mas.nopl.OrgArt
dfpListeners, gui, myNPLListener, nengine, normativeEvtListeners, oeId, orgBoardName, orgState, ownerAgent, running, runningDestroy, sglDestroyed, sglNormFailure, sglOblCreated, sglOblFulfilled, sglOblInactive, sglOblUnfulfilled, sglSanction, updateGUIThreadFields inherited from class cartago.Artifact
observabilityRadius, position, thisOpId -
Constructor Summary
Constructors Constructor Description SimpleNormativeBoard() -
Method Summary
Modifier and Type Method Description voidaddNorm(java.lang.String type, java.lang.String role, java.lang.String mission)Methods inherited from class ora4mas.nopl.NormativeBoard
addFact, consult, debug, destroy, getAsDOM, getDebugText, getNormativeBoards, getNPLSrc, getStyleSheetName, init, isRelevant, loadMethods inherited from class ora4mas.nopl.OrgArt
agKilled, debug, fixAgName, fixOSFile, getArtId, getAsDot, getLogger, getNormativeEngine, getNSTransformer, getOEId, getOpUserName, getParser, getStyleSheet, initNormativeEngine, initWspRuleEngine, installNormativeSignaler, isUserAllowed, ora4masOperationTemplate, postReorgUpdates, setOrgBoardName, setOwner, specToStr, updateGuiOEMethods inherited from class cartago.Artifact
await, await, await_time, beginExtSession, commit, defineNewOp, defineObsProperty, defineOp, delay, dispose, dispose, endExtSession, endExtSessionWithFailure, execInternalOp, execLinkedOp, execLinkedOp, failed, failed, getCreatorId, getCurrentOpAgentBody, getCurrentOpAgentId, getId, getLinkedArtifacts, getManualSrcFile, getObservabilityRadius, getObsProperty, getObsPropertyByTemplate, getOpKey, getPosition, hasObsProperty, hasObsPropertyByTemplate, isLinked, log, lookupArtifact, makeArtifact, removeObsProperty, removeObsPropertyByTemplate, removeOp, setupOperations, setupPosition, signal, signal, updateObservabilityRadius, updateObsProperty, updatePositionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface npl.DynamicFactsProvider
consultFromCollection, consultFromProviders
-
Field Details
-
id
int id -
factory
npl.INPLFactory factory -
logger
protected java.util.logging.Logger logger
-
-
Constructor Details
-
SimpleNormativeBoard
public SimpleNormativeBoard()
-
-
Method Details
-
addNorm
public void addNorm(java.lang.String type, java.lang.String role, java.lang.String mission) throws MoiseException, npl.parser.ParseException- Throws:
MoiseExceptionnpl.parser.ParseException
-