use of com.synopsys.integration.detectable.detectable.Requirements in project synopsys-detect by blackducksoftware.
the class PipenvDetectable method extractable.
@Override
public DetectableResult extractable() throws DetectableException {
Requirements requirements = new Requirements(fileFinder, environment);
pythonExe = requirements.executable(pythonResolver::resolvePython, "python");
pipenvExe = requirements.executable(pipenvResolver::resolvePipenv, "pipenv");
setupFile = fileFinder.findFile(environment.getDirectory(), SETUPTOOLS_DEFAULT_FILE_NAME);
requirements.explainNullableFile(setupFile);
return requirements.result();
}
use of com.synopsys.integration.detectable.detectable.Requirements in project synopsys-detect by blackducksoftware.
the class SwiftCliDetectable method applicable.
@Override
public DetectableResult applicable() {
Requirements requirements = new Requirements(fileFinder, environment);
requirements.file(PACKAGE_SWIFT_FILENAME);
return requirements.result();
}
use of com.synopsys.integration.detectable.detectable.Requirements in project synopsys-detect by blackducksoftware.
the class SwiftCliDetectable method extractable.
@Override
public DetectableResult extractable() throws DetectableException {
Requirements requirements = new Requirements(fileFinder, environment);
swiftExecutable = requirements.executable(swiftResolver::resolveSwift, "swift");
return requirements.result();
}
use of com.synopsys.integration.detectable.detectable.Requirements in project synopsys-detect by blackducksoftware.
the class CpanCliDetectable method extractable.
@Override
public DetectableResult extractable() throws DetectableException {
Requirements requirements = new Requirements(fileFinder, environment);
cpanExe = requirements.executable(cpanResolver::resolveCpan, "cpan");
cpanmExe = requirements.executable(cpanmResolver::resolveCpanm, "cpanm");
return requirements.result();
}
use of com.synopsys.integration.detectable.detectable.Requirements in project synopsys-detect by blackducksoftware.
the class GoVendorDetectable method applicable.
@Override
public DetectableResult applicable() {
Requirements requirements = new Requirements(fileFinder, environment);
File vendorDir = requirements.directory(VENDOR_JSON_DIRNAME);
vendorJson = requirements.file(vendorDir, VENDOR_JSON_FILENAME);
return requirements.result();
}
Aggregations