use of com.synopsys.integration.detectable.detectable.Requirements in project synopsys-detect by blackducksoftware.
the class BazelDetectable method extractable.
@Override
public DetectableResult extractable() throws DetectableException {
Requirements requirements = new Requirements(fileFinder, environment);
workspaceFile = requirements.file(WORKSPACE_FILENAME);
bazelExe = requirements.executable(bazelResolver::resolveBazel, "bazel");
return requirements.result();
}
use of com.synopsys.integration.detectable.detectable.Requirements in project synopsys-detect by blackducksoftware.
the class ClangDetectable method applicable.
@Override
public DetectableResult applicable() {
Requirements requirements = new Requirements(fileFinder, environment);
jsonCompilationDatabaseFile = requirements.file(JSON_COMPILATION_DATABASE_FILENAME);
return requirements.result();
}
use of com.synopsys.integration.detectable.detectable.Requirements in project synopsys-detect by blackducksoftware.
the class XcodeSwiftDetectable method applicable.
@Override
public DetectableResult applicable() {
Requirements requirements = new Requirements(fileFinder, environment);
foundXcodeProjectFile = requirements.directory(XCODE_PROJECT_PATTERN);
if (requirements.isCurrentlyMet()) {
File swiftPMDirectory = foundXcodeProjectFile.toPath().resolve(PACKAGE_RESOLVED_PARENT_PATH).toFile();
foundPackageResolvedFile = requirements.file(swiftPMDirectory, PACKAGE_RESOLVED_FILENAME);
}
return requirements.result();
}
Aggregations