Class WorkspaceNotifier

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    class WorkspaceNotifier
    extends java.lang.Object
    implements java.io.Closeable
    Implements the event bus for the workspace, projects and repositories. It can create OnWorkspace objects that client can use to get events. Clients can close and this will clean up. The class is private to the workspace.
    • Constructor Detail

      • WorkspaceNotifier

        WorkspaceNotifier​(Workspace workspace)
    • Method Detail

      • initialized

        int initialized()
      • message

        void message​(Workspace workspace)
      • closing

        void closing​(Workspace workspace)
      • projects

        public void projects​(java.util.Collection<Project> projects)
      • changedProject

        public void changedProject​(Project project)
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException