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 String
logErrorMessage
(HttpResult error, Path errorMessagePath, int maxLine) void
onError
(HttpResult error) private String
readLines
(BufferedReader reader, int maxLine, Path errorMessagePath) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.cbi.maven.http.CompletionListener
onSuccess
-
Field Details
-
log
The log for providingDEBUG
feedback about the process. -
errorLogFolder
-
erroLogPrefix
-
errorLogSuffix
-
-
Constructor Details
-
AbstractCompletionListener
-
-
Method Details
-
onError
- Specified by:
onError
in interfaceCompletionListener
-
logErrorMessage
-
readLines
private String readLines(BufferedReader reader, int maxLine, Path errorMessagePath) throws IOException - Throws:
IOException
-