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(ProgressStatus status)
Mirror incoming events and structures into given ProgressStatus.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
composeMessageForPrint(CommandProgress cp)
ProgressStatus
getProgressStatus()
void
mirror(ProgressStatusBase source)
void
mirror(ProgressStatusDTO dto)
void
mirror(ProgressStatusEvent event)
Applies event on existing structures.
-
-
-
Constructor Detail
-
ProgressStatusClient
public ProgressStatusClient(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(ProgressStatusDTO dto)
-
mirror
public void mirror(ProgressStatusBase source)
-
mirror
public void mirror(ProgressStatusEvent event)
Applies event on existing structures. If not applicable do nothing.
-
getProgressStatus
public ProgressStatus getProgressStatus()
-
composeMessageForPrint
public static String composeMessageForPrint(CommandProgress cp)
-
-