Class ProgressStatusClient
java.lang.Object
com.sun.enterprise.admin.progress.ProgressStatusClient
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
ConstructorsConstructorDescriptionProgressStatusClient(org.glassfish.api.admin.ProgressStatus status) Mirror incoming events and structures into given ProgressStatus. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringcomposeMessageForPrint(org.glassfish.api.admin.CommandProgress cp) org.glassfish.api.admin.ProgressStatusvoidmirror(org.glassfish.api.admin.progress.ProgressStatusBase source) voidmirror(org.glassfish.api.admin.progress.ProgressStatusDTO dto) voidmirror(org.glassfish.api.admin.progress.ProgressStatusEvent event) Applies event on existing structures.
-
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
-