Package jenkins.model

Class NodeListener

    • Constructor Detail

      • NodeListener

        public NodeListener()
    • Method Detail

      • onCreated

        protected void onCreated​(@NonNull
                                 Node node)
        Node is being created.
      • onUpdated

        protected void onUpdated​(@NonNull
                                 Node oldOne,
                                 @NonNull
                                 Node newOne)
        Node is being updated.
      • onDeleted

        protected void onDeleted​(@NonNull
                                 Node node)
        Node is being deleted.
      • fireOnCreated

        public static void fireOnCreated​(@NonNull
                                         Node node)
        Inform listeners that node is being created.
        Parameters:
        node - A node being created.
      • fireOnUpdated

        public static void fireOnUpdated​(@NonNull
                                         Node oldOne,
                                         @NonNull
                                         Node newOne)
        Inform listeners that node is being updated.
        Parameters:
        oldOne - Old configuration.
        newOne - New Configuration.
      • fireOnDeleted

        public static void fireOnDeleted​(@NonNull
                                         Node node)
        Inform listeners that node is being removed.
        Parameters:
        node - A node being removed.