org.wildfly.extras.creaper.commands.logging
Class ChangeLogger

java.lang.Object
  extended by org.wildfly.extras.creaper.commands.logging.ChangeLogger
All Implemented Interfaces:
Command, OfflineCommand, OnlineCommand

public final class ChangeLogger
extends Object


Nested Class Summary
static class ChangeLogger.Builder
           
 
Field Summary
protected  String category
           
protected  String filter
           
protected  List<String> handlers
           
protected  LogLevel level
           
protected  Boolean useParentHandler
           
 
Fields inherited from interface org.wildfly.extras.creaper.core.online.OnlineCommand
NOOP
 
Fields inherited from interface org.wildfly.extras.creaper.core.offline.OfflineCommand
NOOP
 
Method Summary
 void apply(OfflineCommandContext ctx)
           
 void apply(OnlineCommandContext ctx)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

category

protected final String category

level

protected final LogLevel level

handlers

protected final List<String> handlers

useParentHandler

protected final Boolean useParentHandler

filter

protected final String filter
Method Detail

apply

public void apply(OnlineCommandContext ctx)
           throws Exception
Throws:
Exception

apply

public void apply(OfflineCommandContext ctx)
           throws Exception
Throws:
Exception

toString

public String toString()
Specified by:
toString in interface OfflineCommand
Specified by:
toString in interface OnlineCommand
Overrides:
toString in class Object


Copyright © 2020. All rights reserved.