Class ProgressStatusClient


  • public class ProgressStatusClient
    extends Object
    Provides mirroring of events into given ProgressStatus substructure. Never rewrites name in base ProgressStatus (i.e. only children will have copied names).
    Author:
    mmares
    • Constructor Detail

      • ProgressStatusClient

        public ProgressStatusClient​(org.glassfish.api.admin.ProgressStatus status)
        Mirror incoming events and structures into given ProgressStatus. If null, CommandProgess will be created with first event or structure.
        Parameters:
        status -
    • Method Detail

      • mirror

        public void mirror​(org.glassfish.api.admin.progress.ProgressStatusDTO dto)
      • mirror

        public void mirror​(org.glassfish.api.admin.progress.ProgressStatusBase source)
      • mirror

        public void mirror​(org.glassfish.api.admin.progress.ProgressStatusEvent event)
        Applies event on existing structures. If not appliable do nothing.
      • getProgressStatus

        public org.glassfish.api.admin.ProgressStatus getProgressStatus()
      • composeMessageForPrint

        public static String composeMessageForPrint​(org.glassfish.api.admin.CommandProgress cp)