Class MirrorApplicationServiceImpl.LogListener
- java.lang.Object
-
- org.eclipse.tycho.p2.tools.mirroring.MirrorApplicationServiceImpl.LogListener
-
- All Implemented Interfaces:
org.eclipse.equinox.p2.internal.repository.mirroring.IArtifactMirrorLog
- Enclosing class:
- MirrorApplicationServiceImpl
static class MirrorApplicationServiceImpl.LogListener extends java.lang.Object implements org.eclipse.equinox.p2.internal.repository.mirroring.IArtifactMirrorLog
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
hasLogged
private MavenLogger
logger
private static java.net.URI
MIRROR_TOOL_MESSAGE_HELP
private static java.lang.String
MIRROR_TOOL_MESSAGE_PREFIX
-
Constructor Summary
Constructors Constructor Description LogListener(MavenLogger logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
log(org.eclipse.core.runtime.IStatus status)
void
log(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor descriptor, org.eclipse.core.runtime.IStatus status)
void
showHelpForLoggedMessages()
-
-
-
Field Detail
-
MIRROR_TOOL_MESSAGE_PREFIX
private static final java.lang.String MIRROR_TOOL_MESSAGE_PREFIX
- See Also:
- Constant Field Values
-
MIRROR_TOOL_MESSAGE_HELP
private static final java.net.URI MIRROR_TOOL_MESSAGE_HELP
-
logger
private final MavenLogger logger
-
hasLogged
private boolean hasLogged
-
-
Constructor Detail
-
LogListener
LogListener(MavenLogger logger)
-
-
Method Detail
-
log
public void log(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor descriptor, org.eclipse.core.runtime.IStatus status)
- Specified by:
log
in interfaceorg.eclipse.equinox.p2.internal.repository.mirroring.IArtifactMirrorLog
-
log
public void log(org.eclipse.core.runtime.IStatus status)
- Specified by:
log
in interfaceorg.eclipse.equinox.p2.internal.repository.mirroring.IArtifactMirrorLog
-
showHelpForLoggedMessages
public void showHelpForLoggedMessages()
-
close
public void close()
- Specified by:
close
in interfaceorg.eclipse.equinox.p2.internal.repository.mirroring.IArtifactMirrorLog
-
-