Interface ScheduledExecutionContext

    • Method Detail

      • getRepository

        Repository getRepository()
        Returns the EBX® repository.
      • getSession

        Session getSession()
        Returns the session associated with this execution.
      • getStartDate

        Date getStartDate()
        Returns the start date of the scheduled task execution.
      • addExecutionInformation

        void addExecutionInformation​(String anInformation)
        Adds an entry to the execution information report. It is interpreted as an HTML string. Execution information entries are available in the execution reports table, in EBX® administration.

        This method must be used sparingly, since each invocation adds a new element to the aggregated list group persisted in the EBX® repository, and commits it.

      • setExecutionInformation

        void setExecutionInformation​(String aReport)
        Defines the execution information. It is interpreted as an HTML string and is made available in the table of execution reports, in EBX® administration.

        First clears the report if it already contains entries.