/** * This method is only for internal use. We do NOT currently want to expose it on the ExtensionContext interface. */ public AuditLogger getAuditLogger(boolean inheritConfiguration, boolean manualCommit) { if (inheritConfiguration) { return auditLogger; } return auditLogger.createNewConfiguration(manualCommit); }
/** * This method is only for internal use. We do NOT currently want to expose it on the ExtensionContext interface. */ @Override public AuditLogger getAuditLogger(boolean inheritConfiguration, boolean manualCommit) { if (!allowSupplement) { throw new UnsupportedOperationException(); } if (inheritConfiguration) { return auditLogger; } return auditLogger.createNewConfiguration(manualCommit); }
/** * This method is only for internal use. We do NOT currently want to expose it on the ExtensionContext interface. */ @Override public AuditLogger getAuditLogger(boolean inheritConfiguration, boolean manualCommit) { if (!allowSupplement) { throw new UnsupportedOperationException(); } if (inheritConfiguration) { return auditLogger; } return auditLogger.createNewConfiguration(manualCommit); }