public class SRCProcessTemplate extends ProcessTemplate
| Modifier and Type | Method and Description |
|---|---|
void |
checkCompliance(ReqIFArchive previous,
ReqIFArchive priorCurrent,
ReqIFArchive current,
Role currentRole,
java.util.function.Consumer<ComplianceMessage> complianceMessageConsumer)
This method checks the compliance of a
ReqIFArchive with the process definition rules in this object |
static SRCProcessTemplate |
create(ReqIFArchive referenceArchive,
Role role,
java.lang.String specificationId)
Constructs an
SRCProcessTemplate from the passed reference archive and role |
SRCAnalyzeAttributeMapping |
getAnalyzeAttributeMapping() |
ReferenceDefinitions |
getReferenceDefinitions()
the status definitions and values for the 1st reference archive in the process exchange
|
getProcessDefinition, getReferenceRolepublic static SRCProcessTemplate create(ReqIFArchive referenceArchive, Role role, java.lang.String specificationId) throws ExchangeProcessComplianceException
SRCProcessTemplate from the passed reference archive and rolereferenceArchive - the ReqIFArchive corresponding to the first archive in the timeline, not nullrole - the Role, not nullspecificationId - the identifier of the Specification for which to check compliance, not nullSRCProcessTemplate not nullExchangeProcessComplianceException - if an exception occurs during initialization of the SRCProcessTemplatepublic ReferenceDefinitions getReferenceDefinitions()
ProcessTemplategetReferenceDefinitions in class ProcessTemplateReferenceDefinitions collection in this ProcessTemplate objectpublic void checkCompliance(ReqIFArchive previous, ReqIFArchive priorCurrent, ReqIFArchive current, Role currentRole, java.util.function.Consumer<ComplianceMessage> complianceMessageConsumer) throws ExchangeProcessComplianceException
ReqIFArchive with the process definition rules in this objectcheckCompliance in class ProcessTemplateprevious - the previous ReqIFArchive in the timeline with the opposite Role, can be null
to check the initial statusespriorCurrent - the most recent ReqIFArchive in the timeline with the same Role, can be nullcurrent - the currently selected ReqIFArchive, not nullcurrentRole - the Role of the current ReqIFArchive, not nullcomplianceMessageConsumer - a Consumer of ComplianceMessage objects, not nullExchangeProcessComplianceException - if the attribute mapping is not completely resolvedpublic SRCAnalyzeAttributeMapping getAnalyzeAttributeMapping()