diff options
Diffstat (limited to 'archiva-cli')
-rw-r--r-- | archiva-cli/src/main/java/org/apache/maven/archiva/cli/AbstractProgressConsumer.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/archiva-cli/src/main/java/org/apache/maven/archiva/cli/AbstractProgressConsumer.java b/archiva-cli/src/main/java/org/apache/maven/archiva/cli/AbstractProgressConsumer.java index c464f70bb..14e7a87fd 100644 --- a/archiva-cli/src/main/java/org/apache/maven/archiva/cli/AbstractProgressConsumer.java +++ b/archiva-cli/src/main/java/org/apache/maven/archiva/cli/AbstractProgressConsumer.java @@ -43,6 +43,12 @@ public abstract class AbstractProgressConsumer this.count = 0; } + public void beginScan( ManagedRepositoryConfiguration repository, Date whenGathered, boolean executeOnEntireRepo ) + throws ConsumerException + { + beginScan( repository, whenGathered ); + } + public void processFile( String path ) throws ConsumerException { @@ -54,9 +60,20 @@ public abstract class AbstractProgressConsumer } + public void processFile( String path, boolean executeOnEntireRepo ) + throws ConsumerException + { + processFile( path ); + } + public void completeScan() { System.out.println( "Final Count of Artifacts processed by " + getId() + ": " + count ); } + public void completeScan( boolean executeOnEntireRepo ) + { + completeScan(); + } + } |