Class ComponentStateChangeListener

    • Constructor Detail

      • ComponentStateChangeListener

        public ComponentStateChangeListener​(ModelElement parent)
        Creates a component state change listener
        Parameters:
        parent -
      • ComponentStateChangeListener

        public ComponentStateChangeListener​(ModelElement parent,
                                            java.lang.String name)
        Creates a component state change listener
        Parameters:
        parent -
        name -
    • Method Detail

      • componentAvailable

        protected void componentAvailable​(Component c)
        Called when the component transitions into the available state from any other legal state
        Parameters:
        c -
      • componentAvailableAfterCreation

        protected void componentAvailableAfterCreation​(Component c)
        Called after componentAvailable() but only when the component enters from the created state
        Parameters:
        c -
      • componentAvailableAfterRepair

        protected void componentAvailableAfterRepair​(Component c)
        Called after componentAvailable() but only when the component enters from the repairing state
        Parameters:
        c -
      • componentAvailableAfterUnavailable

        protected void componentAvailableAfterUnavailable​(Component c)
        Called after componentAvailable() but only when the component enters from the unavailable state
        Parameters:
        c -
      • componentAvailableAfterOperating

        protected void componentAvailableAfterOperating​(Component c)
        Called after componentAvailable() but only when the component enters from the operating state
        Parameters:
        c -
      • componentStartedOperating

        protected void componentStartedOperating​(Component c)
        Called when the component transitions into the operating state
        Parameters:
        c -
      • componentUnavailable

        protected void componentUnavailable​(Component c)
        Called when the component transitions into the unavailable state
        Parameters:
        c -
      • componentFailed

        protected void componentFailed​(Component c)
        Called when the component transitions into the failed state
        Parameters:
        c -
      • componentStartedRepair

        protected void componentStartedRepair​(Component c)
        Called when the component transitions into the repairing state
        Parameters:
        c -