CreationPredicate - If this returns true when a object is created or updated. A PI will be created and added to the object. (Default no PI will be created)
RegistrationPredicate - If this returns true for a object when a PI is created or a object with pi is created or updated, then the pi will be send to the Service (e.g. Datacite) and will be registered. (Default every PI will be registered)
Added the Property CreationPredicate to PIJobService
Changed the Property of PIJobService from MCR.PI.Service.Datacite.RegistrationConditionProvider to org.mycore.pi.condition.MCRPIPublishedPredicate
Predicates can be combined with And/Or.
MCR.PI.Service.Datacite.CreationPredicate=org.mycore.pi.condition.MCRPIAndPredicate
MCR.PI.Service.Datacite.CreationPredicate.1=org.mycore.pi.condition.MCRPIOrPredicate
MCR.PI.Service.Datacite.CreationPredicate.1.1=org.mycore.pi.condition.MCRPIStatePredicate
MCR.PI.Service.Datacite.CreationPredicate.1.1.State=published
MCR.PI.Service.Datacite.CreationPredicate.1.2=org.mycore.pi.condition.MCRPIStatePredicate
MCR.PI.Service.Datacite.CreationPredicate.1.2.State=review
MCR.PI.Service.Datacite.CreationPredicate.2=org.mycore.pi.condition.MCRPIXPathPredicate
MCR.PI.Service.Datacite.CreationPredicate.2.XPath=//mods:accessCondition[contains(@xlink:href, 'mir_licenses#cc_by_3.0')]
CreationPredicate - If this returns true when a object is created or updated. A PI will be created and added to the object. (Default no PI will be created)
RegistrationPredicate - If this returns true for a object when a PI is created or a object with pi is created or updated, then the pi will be send to the Service (e.g. Datacite) and will be registered. (Default every PI will be registered)