Package com.buschmais.jqassistant.core.model.api.descriptor

Examples of com.buschmais.jqassistant.core.model.api.descriptor.Descriptor


     */
    private void scanFile(ArtifactDescriptor artifactDescriptor, String name, InputStreamSource streamSource) throws IOException {
        for (ArtifactScannerPlugin plugin : this.plugins) {
            if (plugin.matches(name, false)) {
                LOGGER.info("Scanning file '{}'", name);
                Descriptor descriptor = plugin.scanFile(store, streamSource);
                artifactDescriptor.getContains().add(descriptor);
            }
        }
    }
View Full Code Here


     */
    private void scanDirectory(ArtifactDescriptor artifactDescriptor, String name) throws IOException {
        for (ArtifactScannerPlugin plugin : this.plugins) {
            if (plugin.matches(name, true)) {
                LOGGER.info("Scanning directory '{}'", name);
                Descriptor descriptor = plugin.scanDirectory(store, name);
                artifactDescriptor.getContains().add(descriptor);
            }
        }
    }
View Full Code Here

        Map<Relation, Set<Descriptor>> relations = new HashMap<Relation, Set<Descriptor>>();
        for (Relationship relationship : node.getRelationships(Direction.OUTGOING)) {
            Relation relation = Relation.getRelation(relationship.getType().name());
            if (relation != null) {
                Node targetNode = relationship.getEndNode();
                Descriptor targetDescriptor = getDescriptor(targetNode);
                Set<Descriptor> set = relations.get(relation);
                if (set == null) {
                    set = new HashSet<>();
                    relations.put(relation, set);
                }
View Full Code Here

TOP

Related Classes of com.buschmais.jqassistant.core.model.api.descriptor.Descriptor

Copyright © 2018 www.massapicom. 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.