void (Payload payload) { super.buildPayload(payload); payload.add(buildCondition(myCondition)) .add(buildCondition(myLogExpression)) .add(myNotifyPolicy.isNotifyOnlyOnFirst() ? 2 : 0) .add(myNotifyPolicy.isNotifyOnTerminate()) .add(myNotifyPolicy.isIgnoreLibraries()); }