org.wildfly.extras.creaper.commands.auditlog
Class AddAuditLogger

java.lang.Object
  extended by 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.


Nested Class Summary
static class AddAuditLogger.Builder
           
 
Field Summary
 
Fields inherited from interface org.wildfly.extras.creaper.core.online.OnlineCommand
NOOP
 
Fields inherited from interface org.wildfly.extras.creaper.core.offline.OfflineCommand
NOOP
 
Constructor Summary
AddAuditLogger(AddAuditLogger.Builder builder)
           
 
Method Summary
 void apply(OfflineCommandContext ctx)
           
 void apply(OnlineCommandContext ctx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.wildfly.extras.creaper.core.online.OnlineCommand
toString
 
Methods inherited from interface org.wildfly.extras.creaper.core.offline.OfflineCommand
toString
 

Constructor Detail

AddAuditLogger

public AddAuditLogger(AddAuditLogger.Builder builder)
Method Detail

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.