Class AssignmentVariabilityProvider


  • public abstract class AssignmentVariabilityProvider
    extends Object
    • Constructor Detail

      • AssignmentVariabilityProvider

        protected AssignmentVariabilityProvider()
      • AssignmentVariabilityProvider

        protected AssignmentVariabilityProvider​(String mustachePattern)
    • Method Detail

      • initHook

        public abstract TemplateSpec initHook​(TemplateSpec tpl,
                                              BigDecimal scoreMax)
                                       throws Exception

        To be overriden by subclasses.

        The parameter tpl is prepared with a default set of artifacts, methods, and materializations replacing &xA7;(...)&xA7; placeholders in the task xml file. A subclass may append and replace these materializations or add additional materializations. A subclass may refer to the artifacts and methods that are created here:

        • artifacts:
          • artifact_task_xml = the task xml
        • methods:
          • method_mustache_default = mustache template renderer with pattern &xA7;(...)&xA7;
        Throws:
        Exception