Package org.openquark.cal.services

Examples of org.openquark.cal.services.ResourcePathStore


        if (!sourceStore.hasFeature(moduleResourceName)) {
            return null;
        }
       
        if (sourceStore instanceof ResourcePathStore) {
            ResourcePathStore sourcePathStore = (ResourcePathStore)sourceStore;
           
            if (sourcePathStore instanceof ResourceNullaryStore) {
                File currentFile = NullaryEnvironment.getNullaryEnvironment().getFile(sourcePathStore.getResourcePath(moduleResourceName), false);
                if(currentFile != null) {
                    return currentFile.getAbsolutePath();
                }
            }
       
View Full Code Here


        if (!sourceStore.hasFeature(resourceName)) {
            return false;
        }
       
        if (sourceStore instanceof ResourcePathStore) {
            final ResourcePathStore sourcePathStore = (ResourcePathStore)sourceStore;
            final ResourcePath.FilePath resourcePath = sourcePathStore.getResourcePath(resourceName);
           
            // Check for ancestors named test.
            // Note: this assumes that the file exists with respect to the nullary environment.
           
            File currentFile = NullaryEnvironment.getNullaryEnvironment().getFile(resourcePath, false);
View Full Code Here

            if (!sourceStore.hasFeature(moduleResourceName)) {
                return null;
            }
           
            if (sourceStore instanceof ResourcePathStore) {
                ResourcePathStore sourcePathStore = (ResourcePathStore)sourceStore;
               
                if (sourcePathStore instanceof ResourceNullaryStore) {
                    File currentFile = NullaryEnvironment.getNullaryEnvironment().getFile(sourcePathStore.getResourcePath(moduleResourceName), false);
                    if(currentFile != null) {
                        return currentFile.getAbsolutePath();
                    }
                }
           
View Full Code Here

TOP

Related Classes of org.openquark.cal.services.ResourcePathStore

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.