Interface CockpitConfigurationPersistenceStrategy

    • Method Detail

      • getLastModification

        long getLastModification()
        Returns the timestamp of the last modification of the configuration. Used for caching. Returns 0 if not available.
        Returns:
        timestamp of the last modification of the configuration. Used for caching. Returns 0 if not available.
      • getConfigurationInputStream

        java.io.InputStream getConfigurationInputStream()
                                                 throws java.io.IOException
        Returns the cockpit configuration XML document as an input stream.
        Returns:
        cockpit configuration XML document as an input stream
        Throws:
        java.io.IOException
      • getConfigurationOutputStream

        java.io.OutputStream getConfigurationOutputStream()
                                                   throws java.io.IOException
        Returns the output stream to write the cockpit configuration XML document to.
        Returns:
        output stream to write the cockpit configuration XML document to
        Throws:
        java.io.IOException
      • getDefaultConfigurationInputStream

        java.io.InputStream getDefaultConfigurationInputStream()
                                                        throws java.io.IOException
        Returns the DEFAULT cockpit configuration XML document as an input stream.
        Returns:
        DEFAULT cockpit configuration XML document as an input stream
        Throws:
        java.io.IOException