Added updateStatus method
This commit is contained in:
parent
938a0c5947
commit
11235ba0b0
@ -1,5 +1,6 @@
|
||||
package envoy.data;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.Date;
|
||||
import java.util.Map;
|
||||
|
||||
@ -42,5 +43,7 @@ public final class GroupMessage extends Message {
|
||||
this.memberStatuses = memberStatuses;
|
||||
}
|
||||
|
||||
public void updateStatus() { setStatus(Collections.min(memberStatuses.values())); }
|
||||
|
||||
public Map<Long, MessageStatus> getMemberStatuses() { return memberStatuses; }
|
||||
}
|
||||
|
@ -5,7 +5,7 @@
|
||||
* @author Leon Hofmeister
|
||||
* @author Maximilian Käfer
|
||||
* @author Kai S.K. Engelbart
|
||||
* @since Envoy common v0.1-beta
|
||||
* @since Envoy Common v0.1-beta
|
||||
*/
|
||||
module envoy.common {
|
||||
|
||||
|
Reference in New Issue
Block a user