public class FlowLoggerProfile extends Object
FlowLoggerProvider.| Modifier and Type | Method and Description |
|---|---|
static FlowLoggerProfile |
convert(ServiceProfile<?> profile)
Converts the generic profile into the structured profile about
FlowLogger. |
DateFormat |
getDateFormat()
Returns the log date format.
|
File |
getDirectory()
Returns the base directory of log output target.
|
Charset |
getEncoding()
Returns the log output encoding.
|
File |
getEscapeFile(ExecutionContext context)
Returns abstract path for the escaped log file.
|
File |
getLogFile(ExecutionContext context)
Returns abstract path for the target log file.
|
double |
getStepUnit()
Returns the step unit.
|
boolean |
isDeleteOnCleanup()
Returns whether delete logs after cleanup phase was succeeded.
|
boolean |
isDeleteOnSetup()
Returns whether delete logs before cleanup phase was started.
|
boolean |
isReportJob()
Returns whether report job status.
|
public File getDirectory()
public Charset getEncoding()
public DateFormat getDateFormat()
public double getStepUnit()
public boolean isReportJob()
true to report job status, otherwise falsepublic boolean isDeleteOnSetup()
true to delete logs, otherwise falseIllegalArgumentException - if some parameters were nullpublic boolean isDeleteOnCleanup()
true to delete logs, otherwise falseIllegalArgumentException - if some parameters were nullpublic File getLogFile(ExecutionContext context)
context - current contextIllegalArgumentException - if some parameters were nullpublic File getEscapeFile(ExecutionContext context)
context - current contextIllegalArgumentException - if some parameters were nullpublic static FlowLoggerProfile convert(ServiceProfile<?> profile)
FlowLogger.profile - the target profileIllegalArgumentException - if some parameters were invalidCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.