agentExistsConditionSubscription = (IncrementalSubscription ) getBlackboardService().subscribe( new UnaryPredicate() { public boolean execute(Object o) { if ( o instanceof AgentExistsCondition) { return true ; } return false ; } });
    public void setupSubscriptions() {        getPluginParams();        //Listen for the ManagerAddress        managerAddressSubscription = (IncrementalSubscription ) getBlackboardService().subscribe( new UnaryPredicate() {            public boolean execute(Object o) {                if ( o instanceof RobustnessManagerID) {                    return true ;                }                return false ;            }        });        //Listen for changes to Conditions        reconnectTimeConditionSubscription = (IncrementalSubscription ) getBlackboardService().subscribe( new UnaryPredicate() {            public boolean execute(Object o) {                if ( o instanceof ReconnectTimeCondition ) {                    return true ;                }                return false ;            }        });        //Listen for changes to ANY Actions        ActionSubscription = (IncrementalSubscription ) getBlackboardService().subscribe(DisconnectAction.pred);        blackboard.setShouldBePersisted(false);    }