org.wildfly.extras.creaper.commands.auditlog
Class AddAuditLogger
java.lang.Object
org.wildfly.extras.creaper.commands.auditlog.AddAuditLogger
- All Implemented Interfaces:
- Command, OfflineCommand, OnlineCommand
public final class AddAuditLogger
- extends Object
- implements OnlineCommand, OfflineCommand
Command for adding logger child into audit-log node.
Please note that there can be at most 1 logger currently so you likely
want to use replaceExisting attribute.
| Fields inherited from interface org.wildfly.extras.creaper.core.online.OnlineCommand |
NOOP |
| Fields inherited from interface org.wildfly.extras.creaper.core.offline.OfflineCommand |
NOOP |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddAuditLogger
public AddAuditLogger(AddAuditLogger.Builder builder)
apply
public void apply(OnlineCommandContext ctx)
throws Exception
- Specified by:
apply in interface OnlineCommand
- Throws:
Exception
apply
public void apply(OfflineCommandContext ctx)
throws Exception
- Specified by:
apply in interface OfflineCommand
- Throws:
Exception
Copyright © 2020. All rights reserved.