@Test public void testGetArchiveType() throws Exception { final AbstractScanMojo scanMojo = createMojo(); Assert.assertEquals("wrong type returned by getArchiveType()", getExpectedArchiveType(), scanMojo.getArchiveType()); }
protected abstract ArchiveType getArchiveType();
AbstractScanMojo extends AbstractMojo implements IRepositoryParameters { protected abstract ArchiveType getArchiveType(); }
AbstractScanMojo extends AbstractMojo implements IRepositoryParameters { protected abstract ArchiveType getArchiveType();  }
AbstractScanMojo extends AbstractMojo implements IRepositoryParameters { protected abstract ArchiveType getArchiveType();  @Override void execute(); final boolean isShowDocumentationUrlColumn(); final boolean isShowLicenseCandidateFilesColumn(); final boolean isShowProviderColumn(); final ScanLocation getScanLocation(); final String getOutputDirectory(); final List<ExecutionOutput> getOutputs(); final File getLicensesFilename(); final File getProvidersFilename(); final File getNoticesFilename(); final File getCheckedArchivesFilename(); final File getLicenseUrlMappingsFilename(); final File getLicenseNameMappingsFilename(); final File getGlobalFiltersFilename(); final File getFilteredVendorNamesFilename(); final boolean isCleanOutputActive(); final LegalStatus[] getCleanOutputLegalStates(); final String[] getCleanOutputLicenseSpdxIdentifiers(); final boolean isFailOnError(); final LegalStatus[] getErrorLegalStates(); final boolean isSkip(); final MavenProject getMavenProject(); final MavenProjectHelper getMavenProjectHelper(); final List<String> getFilteredVendorNames(); final String getNexusCentralBaseUrl(); final int getConnectTimeout(); final boolean isValidateLicenseXml(); final boolean isWriteArchiveXmlSkeleton(); final File getArchiveXmlSkeletonFile(); final boolean isWriteArchiveCsvSkeleton(); final File getArchiveCsvSkeletonFile(); final String getBuildName(); final String getBuildVersion(); final String getBuildUrl(); final boolean isWriteResultsToDatabase(); final boolean isWriteResultsToDatabaseForSnapshotBuilds(); final ExecutionDatabaseConfiguration getResultDatabaseConfiguration(); @Override final List<RemoteRepository> getRemoteRepositories(); @Override final RepositorySystem getRepositorySystem(); @Override final RepositorySystemSession getRepositorySystemSession(); String getMessageDigestAlgorithm(); }
AbstractScanMojo extends AbstractMojo implements IRepositoryParameters { protected abstract ArchiveType getArchiveType();  @Override void execute(); final boolean isShowDocumentationUrlColumn(); final boolean isShowLicenseCandidateFilesColumn(); final boolean isShowProviderColumn(); final ScanLocation getScanLocation(); final String getOutputDirectory(); final List<ExecutionOutput> getOutputs(); final File getLicensesFilename(); final File getProvidersFilename(); final File getNoticesFilename(); final File getCheckedArchivesFilename(); final File getLicenseUrlMappingsFilename(); final File getLicenseNameMappingsFilename(); final File getGlobalFiltersFilename(); final File getFilteredVendorNamesFilename(); final boolean isCleanOutputActive(); final LegalStatus[] getCleanOutputLegalStates(); final String[] getCleanOutputLicenseSpdxIdentifiers(); final boolean isFailOnError(); final LegalStatus[] getErrorLegalStates(); final boolean isSkip(); final MavenProject getMavenProject(); final MavenProjectHelper getMavenProjectHelper(); final List<String> getFilteredVendorNames(); final String getNexusCentralBaseUrl(); final int getConnectTimeout(); final boolean isValidateLicenseXml(); final boolean isWriteArchiveXmlSkeleton(); final File getArchiveXmlSkeletonFile(); final boolean isWriteArchiveCsvSkeleton(); final File getArchiveCsvSkeletonFile(); final String getBuildName(); final String getBuildVersion(); final String getBuildUrl(); final boolean isWriteResultsToDatabase(); final boolean isWriteResultsToDatabaseForSnapshotBuilds(); final ExecutionDatabaseConfiguration getResultDatabaseConfiguration(); @Override final List<RemoteRepository> getRemoteRepositories(); @Override final RepositorySystem getRepositorySystem(); @Override final RepositorySystemSession getRepositorySystemSession(); String getMessageDigestAlgorithm();  }