/** * Method addRepositoryContentStatistic * * @param repositoryContentStatistics */ public void addRepositoryContentStatistic(RepositoryContentStatistics repositoryContentStatistics) { if ( !(repositoryContentStatistics instanceof RepositoryContentStatistics) ) { throw new ClassCastException( "ArchivaAll.addRepositoryContentStatistics(repositoryContentStatistics) parameter must be instanceof " + RepositoryContentStatistics.class.getName() ); } getRepositoryContentStatistics().add( repositoryContentStatistics ); } //-- void addRepositoryContentStatistic(RepositoryContentStatistics)
/** * Method removeRepositoryContentStatistic * * @param repositoryContentStatistics */ public void removeRepositoryContentStatistic(RepositoryContentStatistics repositoryContentStatistics) { if ( !(repositoryContentStatistics instanceof RepositoryContentStatistics) ) { throw new ClassCastException( "ArchivaAll.removeRepositoryContentStatistics(repositoryContentStatistics) parameter must be instanceof " + RepositoryContentStatistics.class.getName() ); } getRepositoryContentStatistics().remove( repositoryContentStatistics ); } //-- void removeRepositoryContentStatistic(RepositoryContentStatistics)