That depends if you are installing FlowRules or FlowObjectives.
If you're installing FlowRules and want to listen to notifications, the FlowRuleService has an addListener method that allows you to register a listener.
If you're installing FlowObjectives, when you build the FlowObjective you can use the overloaded Builder.add(ObjectiveContext) method to pass in an ObjectiveContext with the flow objective. The ObjectiveContext is a callback that will be called either on the success or failure of the objective installation.
Thanks,