Interface RepositoryRecording

All Known Implementing Classes:
RepositoryRecording100

public interface RepositoryRecording
Interface for the RECORDING mode of the JCoRecorder.
There should be an implementation for every version of the repository-file.
For instance:
  • JCoRecRepository for originally version of the repository-file.
  • RepositoryRecording100 for the first revised repository-file version.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    putFunction(com.sap.conn.jco.JCoFunction function)
    While recording, this method helps to add a (new) function to the Repository.
    void
    Saves the collected data in a file on disk.
  • Method Details

    • putFunction

      int putFunction(com.sap.conn.jco.JCoFunction function)
      While recording, this method helps to add a (new) function to the Repository.
      Parameters:
      function - the JCoFunction that should be added.
      Returns:
      Returns a number that indicates the position in the requesting/execution-order.
    • writeRepositoryToFile

      void writeRepositoryToFile() throws JCoRecException
      Saves the collected data in a file on disk.
      Throws:
      JCoRecException - if an error (e.g. I/O exception) occurs during saving.