public class ActorDependencies
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.util.Set<AtomicActor> |
dependents(Actor actor)
Return a Set of dependent (downstream) atomic actors that are connected to the
target.
|
static java.util.Set<AtomicActor> |
dependents(Actor actor,
java.lang.Class filter)
Return a Set of dependent (downstream) actors of a particular
class that are connected to the target.
|
static java.util.Set<AtomicActor> |
dependents(IOPort port,
java.lang.Class filter)
Return a Set of dependent (downstream) actors of a particular
class that are connected to a port.
|
static java.util.Set<AtomicActor> |
prerequisites(Actor actor)
Return a Set of AtomicActors that are connected upstream to this AtomicActor.
|
static java.util.Set<AtomicActor> |
prerequisites(Actor actor,
java.lang.Class filter)
Return a Set of actors that match the specified filter
that are connected upstream to the specified actor.
|
public static java.util.Set<AtomicActor> dependents(Actor actor) throws KernelException
actor
- the Actor to be searched.KernelException
- If there is a problem with the receivers.
the top level or if preinitialize() fails.public static java.util.Set<AtomicActor> dependents(Actor actor, java.lang.Class filter) throws KernelException
actor
- the Actor to be searched.filter
- The class of prerequisite actors to be returned.KernelException
- If there is a problem with the receivers.
the top level or if preinitialize() fails.public static java.util.Set<AtomicActor> dependents(IOPort port, java.lang.Class filter) throws KernelException
port
- The target port.filter
- The class of prerequisite actors to be returned.KernelException
- If there is a problem with the receivers.
the top level or if preinitialize() fails.public static java.util.Set<AtomicActor> prerequisites(Actor actor) throws KernelException
actor
- the Actor to be searched.KernelException
- If thrown when a Manager is added to
the top level or if preinitialize() fails.public static java.util.Set<AtomicActor> prerequisites(Actor actor, java.lang.Class filter) throws KernelException
actor
- the Actor to be searched.filter
- The class of prerequisite actors to be returned.KernelException
- If thrown when a Manager is added to
the top level or if preinitialize() fails.