Interface EventLogArray

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void addLog​(int index, org.deckfour.xes.model.XLog log)
      Adds the given log at the given index to the array.
      int addLog​(org.deckfour.xes.model.XLog log)
      Adds the given log to the array.
      void exportToFile​(org.processmining.framework.plugin.PluginContext context, java.io.File file, org.deckfour.xes.out.XSerializer logSerializer)  
      org.deckfour.xes.model.XLog getLog​(int index)
      Returns the log at the given index.
      int getSize()  
      void importFromStream​(org.processmining.framework.plugin.PluginContext context, java.io.InputStream input, java.lang.String parent)  
      void init()
      Initializes the event log array.
      void removeLog​(int index)
      Removes the log from the given index.
      int removeLog​(org.deckfour.xes.model.XLog log)
      Removes the first occurrence of the given log from the array,
    • Method Detail

      • init

        void init()
        Initializes the event log array.
      • addLog

        int addLog​(org.deckfour.xes.model.XLog log)
        Adds the given log to the array.
        Parameters:
        log - The given log.
        Returns:
        The index of the added log in the array.
      • removeLog

        int removeLog​(org.deckfour.xes.model.XLog log)
        Removes the first occurrence of the given log from the array,
        Parameters:
        log - The given log.
        Returns:
        The index of the removed log, if present. -1 if not present.
      • addLog

        void addLog​(int index,
                    org.deckfour.xes.model.XLog log)
        Adds the given log at the given index to the array.
        Parameters:
        index - The given index.
        log - The given log.
      • removeLog

        void removeLog​(int index)
        Removes the log from the given index.
        Parameters:
        index - The given index.
      • getLog

        org.deckfour.xes.model.XLog getLog​(int index)
        Returns the log at the given index.
        Parameters:
        index - The given index.
        Returns:
        The log at the given index, if valid. null if not valid.
      • getSize

        int getSize()
      • importFromStream

        void importFromStream​(org.processmining.framework.plugin.PluginContext context,
                              java.io.InputStream input,
                              java.lang.String parent)
                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • exportToFile

        void exportToFile​(org.processmining.framework.plugin.PluginContext context,
                          java.io.File file,
                          org.deckfour.xes.out.XSerializer logSerializer)
                   throws java.io.IOException
        Throws:
        java.io.IOException