Package org.mycore.access.facts.model
Interface MCRFactCondition<F extends MCRFact<?>>
- Type Parameters:
F
- the fact to be generated
- All Superinterfaces:
MCRCondition
,MCRFactComputable<F>
- All Known Implementing Classes:
MCRAbstractFactCondition
,MCRCategoryCondition
,MCRCreatedByCondition
,MCRIPCondition
,MCRMODSCollectionCondition
,MCRMODSEmbargoCondition
,MCRMODSGenreCondition
,MCRPIHasRegisteredCondition
,MCRRegExCondition
,MCRRoleCondition
,MCRStateCondition
,MCRStringCondition
,MCRUserCondition
This interface describes a rule (from rules.xml) which can evaluate existing facts
or create new facts if applicable.
By extending
MCRFactComputable
the rule knows how to create its facts
from the given object or environment.
New rules need to be registered in mycore.properties as follows:
MCR.Access.Facts.Condition.{type}={class}
e.g. MCR.Access.Facts.Condition.ip=org.mycore.access.facts.condition.fact.MCRIPCondition- Author:
- Robert Stephan
-
Method Summary
Methods inherited from interface org.mycore.access.facts.model.MCRCondition
getBoundElement, getType, isDebug, matches, parse, setDebug
Methods inherited from interface org.mycore.access.facts.model.MCRFactComputable
computeFact, getFactName