use of com.synopsys.integration.detectable.detectable.explanation.PropertyProvided in project synopsys-detect by blackducksoftware.
the class BitbakeDetectable method applicable.
@Override
public DetectableResult applicable() {
Requirements requirements = new Requirements(fileFinder, environment);
foundBuildEnvScript = requirements.file(bitbakeDetectableOptions.getBuildEnvName());
if (bitbakeDetectableOptions.getPackageNames() == null || bitbakeDetectableOptions.getPackageNames().isEmpty()) {
return new PropertyInsufficientDetectableResult("Bitbake requires that at least one package name is provided.");
} else {
requirements.explain(new PropertyProvided("Bitbake Package Names"));
}
return requirements.result();
}
Aggregations