Class ProgressStatusClient

java.lang.Object
com.sun.enterprise.admin.progress.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 Summary

    Constructors
    Constructor
    Description
    ProgressStatusClient(org.glassfish.api.admin.ProgressStatus status)
    Mirror incoming events and structures into given ProgressStatus.
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    composeMessageForPrint(org.glassfish.api.admin.CommandProgress cp)
     
    org.glassfish.api.admin.ProgressStatus
     
    void
    mirror(org.glassfish.api.admin.progress.ProgressStatusBase source)
     
    void
    mirror(org.glassfish.api.admin.progress.ProgressStatusDTO dto)
     
    void
    mirror(org.glassfish.api.admin.progress.ProgressStatusEvent event)
    Applies event on existing structures.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • 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 Details

    • 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)