Class Subscription

java.lang.Object
org.apache.juneau.console.Subscription

public final class Subscription extends Object
One entry of a card's subscribes list: a concrete topic wired to a role the card type implements.
Example:

// Master/detail: the tasks table reloads with the selected change's id. CardSpec tasks = CardSpec.of("datatables", "tasks") .subscribes(Subscription.to(Topics.selection("changes")).as("params") .map("changeId", "ids.0").whenEmpty(WhenEmpty.CLEAR) .emptyText("Select a change to see its tasks.")); // Linked filter, raw payload. Subscription.to(Topics.filter("changes")).as("filter");

Since:
10.0.0