Class Logger

java.lang.Object
org.openprovenance.prov.template.library.ptm.client.logger.Logger
All Implemented Interfaces:
LoggerInterface

public class Logger extends Object implements LoggerInterface
  • Field Details

  • Constructor Details

    • Logger

      public Logger()
  • Method Details

    • getBuilders

      public Builder[] getBuilders()
      Description copied from interface: LoggerInterface
      Returns the array of builders
      Specified by:
      getBuilders in interface LoggerInterface
    • logPtm_expanding

      public static String logPtm_expanding(String document, String provenance, String template, String bindings, Integer agent, Integer expanding, String email, String time)
      TODO doc.
      Parameters:
      document - The document resulting from template expansion (expected type: xsd:string)
      provenance - The provenance of the document resulting from the template expansion (expected type: xsd:string)
      template - The template to be expanded (expected type: xsd:string)
      bindings - The bindings used in expansion (expected type: xsd:string)
      agent - The agent controlling the expansion (expected type: xsd:int)
      expanding - The activity of expanding the template (expected type: xsd:int)
      email - The agent's email (expected type: xsd:string)
      time - Time when the transformed file is created (expected type: xsd:dateTime)
      Returns:
      not documented.
    • beanPtm_expanding

      public static Ptm_expandingBean beanPtm_expanding(String document, String provenance, String template, String bindings, Integer agent, Integer expanding, String email, String time)
      TODO doc.
      Parameters:
      document - The document resulting from template expansion (expected type: xsd:string)
      provenance - The provenance of the document resulting from the template expansion (expected type: xsd:string)
      template - The template to be expanded (expected type: xsd:string)
      bindings - The bindings used in expansion (expected type: xsd:string)
      agent - The agent controlling the expansion (expected type: xsd:int)
      expanding - The activity of expanding the template (expected type: xsd:int)
      email - The agent's email (expected type: xsd:string)
      time - Time when the transformed file is created (expected type: xsd:dateTime)
      Returns:
      not documented.
    • logPtm_mexpanding

      public static String logPtm_mexpanding(String template, String provenance, String mtemplate, String bindings, Integer agent, Integer mexpanding, String email, String time)
      TODO doc.
      Parameters:
      template - The template resulting from the mtemplate expansion (expected type: xsd:string)
      provenance - The provenance of the document resulting from the template expansion (expected type: xsd:string)
      mtemplate - The meta template to be expanded (expected type: xsd:string)
      bindings - The bindings used in expansion (expected type: xsd:string)
      agent - The agent controlling the expansion (expected type: xsd:int)
      mexpanding - The activity of expanding the template (expected type: xsd:int)
      email - The agent's email (expected type: xsd:string)
      time - Time when the transformed file is created (expected type: xsd:dateTime)
      Returns:
      not documented.
    • beanPtm_mexpanding

      public static Ptm_mexpandingBean beanPtm_mexpanding(String template, String provenance, String mtemplate, String bindings, Integer agent, Integer mexpanding, String email, String time)
      TODO doc.
      Parameters:
      template - The template resulting from the mtemplate expansion (expected type: xsd:string)
      provenance - The provenance of the document resulting from the template expansion (expected type: xsd:string)
      mtemplate - The meta template to be expanded (expected type: xsd:string)
      bindings - The bindings used in expansion (expected type: xsd:string)
      agent - The agent controlling the expansion (expected type: xsd:int)
      mexpanding - The activity of expanding the template (expected type: xsd:int)
      email - The agent's email (expected type: xsd:string)
      time - Time when the transformed file is created (expected type: xsd:dateTime)
      Returns:
      not documented.
    • initializeBeanTable

      public static <T> Map<String,T> initializeBeanTable(TableConfigurator<T> configurator)
      Initialize a table of bean builders
      Type Parameters:
      T - type variable for the result associated with each template name
      Parameters:
      configurator - a table configurator
      Returns:
      Map<String,T>
    • initializeCompositeBeanTable

      public static <T> Map<String,T> initializeCompositeBeanTable(CompositeTableConfigurator<T> configurator)
      Initialize a table of composite bean builders
      Type Parameters:
      T - type variable for the result associated with each template name
      Parameters:
      configurator - a table configurator
      Returns:
      Map<String,T>