Package org.eclipse.cbi.maven.http
Class AbstractCompletionListener
java.lang.Object
org.eclipse.cbi.maven.http.AbstractCompletionListener
- All Implemented Interfaces:
CompletionListener
- Direct Known Subclasses:
RemoteJarSigner.OverwriteJarOnSuccess
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAbstractCompletionListener(Path errorLogFolder, String errologPrefix, String errorLogSuffix, Logger log) -
Method Summary
Modifier and TypeMethodDescriptionprivate StringlogErrorMessage(HttpResult error, Path errorMessagePath, int maxLine) voidonError(HttpResult error) private StringreadLines(BufferedReader reader, int maxLine, Path errorMessagePath) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.cbi.maven.http.CompletionListener
onSuccess
-
Field Details
-
log
The log for providingDEBUGfeedback about the process. -
errorLogFolder
-
erroLogPrefix
-
errorLogSuffix
-
-
Constructor Details
-
AbstractCompletionListener
-
-
Method Details
-
onError
- Specified by:
onErrorin interfaceCompletionListener
-
logErrorMessage
-
readLines
private String readLines(BufferedReader reader, int maxLine, Path errorMessagePath) throws IOException - Throws:
IOException
-