Class TemplateInstantiation

java.lang.Object
com.cedarpolicy.model.slice.TemplateInstantiation

public class TemplateInstantiation extends Object
Template instantiation.
  • 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

      public String getTemplateId()
      Get the template ID.
    • getResultPolicyId

      public String getResultPolicyId()
      Get the resulting policy id after slots in the template are filled.
    • getInstantiations

      public List<Instantiation> getInstantiations()
      Get the instantiations to fill the slots.