public class LogFilesServiceImpl extends java.lang.Object implements LogFilesService
Constructor and Description |
---|
LogFilesServiceImpl(<any> configServiceProvider,
<any> authenticatorServiceProvider,
<any> mailServiceProvider,
<any> mailBuilderFactoryProvider,
<any> remoteMessageServiceProvider,
<any> generalInfoServiceProvider) |
Modifier and Type | Method and Description |
---|---|
void |
checkLogFiles(java.util.List<java.nio.file.Path> files) |
void |
emailLogFiles(java.util.List<java.nio.file.Path> files,
java.lang.String filter) |
java.lang.String |
getLogDirectory() |
java.util.List<java.lang.String> |
readLastLines(java.lang.String filename) |
public LogFilesServiceImpl(<any> configServiceProvider, <any> authenticatorServiceProvider, <any> mailServiceProvider, <any> mailBuilderFactoryProvider, <any> remoteMessageServiceProvider, <any> generalInfoServiceProvider)
public java.lang.String getLogDirectory()
getLogDirectory
in interface LogFilesService
public java.util.List<java.lang.String> readLastLines(java.lang.String filename) throws java.io.IOException
readLastLines
in interface LogFilesService
java.io.IOException
public void emailLogFiles(java.util.List<java.nio.file.Path> files, java.lang.String filter) throws MessagingException, java.io.IOException
emailLogFiles
in interface LogFilesService
MessagingException
java.io.IOException
public void checkLogFiles(java.util.List<java.nio.file.Path> files) throws java.io.IOException
checkLogFiles
in interface LogFilesService
java.io.IOException