Examples of ScannerType


Examples of com.buschmais.jqassistant.core.plugin.schema.v1.ScannerType

    private <T extends ScannerPlugin> List<T> getScannerPlugins(List<JqassistantPlugin> plugins, Store store, Map<String, Object> properties)
            throws PluginRepositoryException {
        List<T> scannerPlugins = new ArrayList<>();
        for (JqassistantPlugin plugin : plugins) {
            ScannerType scannerType = plugin.getScanner();
            if (scannerType != null) {
                for (String scannerPluginName : scannerType.getClazz()) {
                    T scannerPlugin = createInstance(scannerPluginName);
                    if (scannerPlugin != null) {
                        // properties is mutable, so every plugin should get its
                        // own copy
                        scannerPlugin.initialize(store, new HashMap<>(properties));
View Full Code Here

Examples of com.denimgroup.threadfix.data.entities.ScannerType

            return null;
        }

        RemoteProvider remoteProvider = null;

        ScannerType type = ScannerType.getScannerType(providerType);

        if (type == ScannerType.QUALYSGUARD_WAS) {
            remoteProvider = new QualysRemoteProvider();
        } else if (type == ScannerType.SENTINEL) {
            remoteProvider = new WhiteHatRemoteProvider();
View Full Code Here

Examples of com.denimgroup.threadfix.data.entities.ScannerType

    public ScanCheckResultBean testScan(@Nonnull File file) throws TypeParsingException, ScanTestingException {
        if (!file.exists()) {
            throw new ScanFileNotFoundException("Scan file not found: " + file.getAbsolutePath());
        }

        ScannerType scannerType = bridge.getType(file);

        if (scannerType == null) {
            throw new TypeParsingException();
        } else {
            return bridge.testScan(scannerType, file);
View Full Code Here

Examples of com.denimgroup.threadfix.data.entities.ScannerType

        if (!file.exists()) {
            throw new ScanFileNotFoundException("Scan file not found: " + file.getAbsolutePath());
        }

        ScannerType scannerType = bridge.getType(file);

        if (scannerType == null) {
            throw new TypeParsingException();
        } else {
            ScanCheckResultBean resultBean = bridge.testScan(scannerType, file);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.