Package com.cedarpolicy.model.slice
Class TemplateInstantiation
java.lang.Object
com.cedarpolicy.model.slice.TemplateInstantiation
Template instantiation.
-
Constructor Summary
ConstructorsConstructorDescriptionTemplateInstantiation(String templateId, String resultPolicyId, List<Instantiation> instantiations) Template Instantiation. -
Method Summary
Modifier and TypeMethodDescriptionGet the instantiations to fill the slots.Get the resulting policy id after slots in the template are filled.Get the template ID.
-
Constructor Details
-
TemplateInstantiation
public TemplateInstantiation(String templateId, String resultPolicyId, List<Instantiation> instantiations) Template Instantiation.- Parameters:
templateId- the template ID.resultPolicyId- the id of the resulting policy.instantiations- the instantiations.
-
-
Method Details
-
getTemplateId
Get the template ID. -
getResultPolicyId
Get the resulting policy id after slots in the template are filled. -
getInstantiations
Get the instantiations to fill the slots.
-