aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-cli
diff options
context:
space:
mode:
authorEric Barboni <skygo@apache.org>2014-04-11 23:46:35 +0200
committerEric Barboni <skygo@apache.org>2014-04-11 23:46:35 +0200
commit99117364be2b27ddb74fc6ffe3e052e0ad52d8dd (patch)
tree5aa6ee887b1cf3c1659f83b7c561a728c0ee4555 /archiva-cli
parentd44d957734badacce74293846d11b3b736b9a478 (diff)
downloadarchiva-99117364be2b27ddb74fc6ffe3e052e0ad52d8dd.tar.gz
archiva-99117364be2b27ddb74fc6ffe3e052e0ad52d8dd.zip
one move for all remaining override annotation
Diffstat (limited to 'archiva-cli')
-rw-r--r--archiva-cli/src/main/java/org/apache/archiva/cli/AbstractProgressConsumer.java6
-rw-r--r--archiva-cli/src/main/java/org/apache/archiva/cli/ArtifactCountConsumer.java5
2 files changed, 11 insertions, 0 deletions
diff --git a/archiva-cli/src/main/java/org/apache/archiva/cli/AbstractProgressConsumer.java b/archiva-cli/src/main/java/org/apache/archiva/cli/AbstractProgressConsumer.java
index 0742df402..f53789c0c 100644
--- a/archiva-cli/src/main/java/org/apache/archiva/cli/AbstractProgressConsumer.java
+++ b/archiva-cli/src/main/java/org/apache/archiva/cli/AbstractProgressConsumer.java
@@ -37,18 +37,21 @@ public abstract class AbstractProgressConsumer
{
private int count = 0;
+ @Override
public void beginScan( ManagedRepository repository, Date whenGathered )
throws ConsumerException
{
this.count = 0;
}
+ @Override
public void beginScan( ManagedRepository repository, Date whenGathered, boolean executeOnEntireRepo )
throws ConsumerException
{
beginScan( repository, whenGathered );
}
+ @Override
public void processFile( String path )
throws ConsumerException
{
@@ -60,17 +63,20 @@ public abstract class AbstractProgressConsumer
}
+ @Override
public void processFile( String path, boolean executeOnEntireRepo )
throws ConsumerException
{
processFile( path );
}
+ @Override
public void completeScan()
{
System.out.println( "Final Count of Artifacts processed by " + getId() + ": " + count );
}
+ @Override
public void completeScan( boolean executeOnEntireRepo )
{
completeScan();
diff --git a/archiva-cli/src/main/java/org/apache/archiva/cli/ArtifactCountConsumer.java b/archiva-cli/src/main/java/org/apache/archiva/cli/ArtifactCountConsumer.java
index 7efde1622..6ac24d5ce 100644
--- a/archiva-cli/src/main/java/org/apache/archiva/cli/ArtifactCountConsumer.java
+++ b/archiva-cli/src/main/java/org/apache/archiva/cli/ArtifactCountConsumer.java
@@ -67,26 +67,31 @@ public class ArtifactCountConsumer
includes.add( "**/*.zip" );
}
+ @Override
public String getDescription()
{
return description;
}
+ @Override
public String getId()
{
return id;
}
+ @Override
public boolean isPermanent()
{
return false;
}
+ @Override
public List<String> getExcludes()
{
return null;
}
+ @Override
public List<String> getIncludes()
{
return includes;