Package org.wildfly.plugin.tools
Class PluginProgressTracker<T>
- java.lang.Object
-
- org.wildfly.plugin.tools.PluginProgressTracker<T>
-
- All Implemented Interfaces:
org.jboss.galleon.progresstracking.ProgressCallback<T>
public class PluginProgressTracker<T> extends Object implements org.jboss.galleon.progresstracking.ProgressCallback<T>
AProgressCallback
which logs the status.- Author:
- jdenise@redhat.com
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
complete(org.jboss.galleon.progresstracking.ProgressTracker<T> tracker)
static void
initTrackers(org.jboss.galleon.api.Provisioning pm, org.jboss.logging.Logger log)
Creates a loggingProgressTracker
.void
processed(org.jboss.galleon.progresstracking.ProgressTracker<T> tracker)
void
processing(org.jboss.galleon.progresstracking.ProgressTracker<T> tracker)
void
pulse(org.jboss.galleon.progresstracking.ProgressTracker<T> tracker)
void
starting(org.jboss.galleon.progresstracking.ProgressTracker<T> tracker)
-
-
-
Method Detail
-
starting
public void starting(org.jboss.galleon.progresstracking.ProgressTracker<T> tracker)
- Specified by:
starting
in interfaceorg.jboss.galleon.progresstracking.ProgressCallback<T>
-
processing
public void processing(org.jboss.galleon.progresstracking.ProgressTracker<T> tracker)
- Specified by:
processing
in interfaceorg.jboss.galleon.progresstracking.ProgressCallback<T>
-
processed
public void processed(org.jboss.galleon.progresstracking.ProgressTracker<T> tracker)
- Specified by:
processed
in interfaceorg.jboss.galleon.progresstracking.ProgressCallback<T>
-
pulse
public void pulse(org.jboss.galleon.progresstracking.ProgressTracker<T> tracker)
- Specified by:
pulse
in interfaceorg.jboss.galleon.progresstracking.ProgressCallback<T>
-
complete
public void complete(org.jboss.galleon.progresstracking.ProgressTracker<T> tracker)
- Specified by:
complete
in interfaceorg.jboss.galleon.progresstracking.ProgressCallback<T>
-
initTrackers
public static void initTrackers(org.jboss.galleon.api.Provisioning pm, org.jboss.logging.Logger log)
Creates a loggingProgressTracker
.- Parameters:
pm
- the provisioning contextlog
- the logger to write the progress to
-
-