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

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

public final class AddPeriodicRotatingFileLogHandler
extends Object


Nested Class Summary
static class AddPeriodicRotatingFileLogHandler.Builder
           
 
Field Summary
protected  Boolean append
           
protected  Boolean autoflush
           
protected  Boolean enabled
           
protected  String encoding
           
protected  String file
           
protected  String fileRelativeTo
           
protected  String filter
           
protected  LogLevel level
           
protected  String name
           
protected  String namedFormatter
           
protected  String patternFormatter
           
protected  String suffix
           
 
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

name

protected final String name

autoflush

protected final Boolean autoflush

enabled

protected final Boolean enabled

append

protected final Boolean append

encoding

protected final String encoding

filter

protected final String filter

patternFormatter

protected final String patternFormatter

namedFormatter

protected final String namedFormatter

level

protected final LogLevel level

suffix

protected final String suffix

fileRelativeTo

protected final String fileRelativeTo

file

protected final String file
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.