Package com.metsci.glimpse.util.var2
Class ActivityListenableSet
- java.lang.Object
-
- com.metsci.glimpse.util.var2.ActivityListenableSet
-
- All Implemented Interfaces:
ActivityListenable
public class ActivityListenableSet extends Object implements ActivityListenable
-
-
Field Summary
-
Fields inherited from interface com.metsci.glimpse.util.var2.ActivityListenable
ALL, COMPLETED
-
-
Constructor Summary
Constructors Constructor Description ActivityListenableSet(ActivityListenable... members)
ActivityListenableSet(Collection<? extends ActivityListenable> members)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Disposable
addListener(Set<? extends ListenerFlag> flags, ActivityListener listener)
Listenable
all()
Includes notifications for both ongoing and completed events.Listenable
completed()
Includes notifications for completed events only.-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.metsci.glimpse.util.var2.ActivityListenable
addListener, addListener, addListener, addListener, addListener
-
-
-
-
Constructor Detail
-
ActivityListenableSet
@SafeVarargs public ActivityListenableSet(ActivityListenable... members)
-
ActivityListenableSet
public ActivityListenableSet(Collection<? extends ActivityListenable> members)
-
-
Method Detail
-
completed
public Listenable completed()
Description copied from interface:ActivityListenable
Includes notifications for completed events only.- Specified by:
completed
in interfaceActivityListenable
-
all
public Listenable all()
Description copied from interface:ActivityListenable
Includes notifications for both ongoing and completed events.- Specified by:
all
in interfaceActivityListenable
-
addListener
public Disposable addListener(Set<? extends ListenerFlag> flags, ActivityListener listener)
- Specified by:
addListener
in interfaceActivityListenable
-
-