MCPcopy Create free account
hub / github.com/cloudfoundry/java-buildpack / Detect

Method Detect

src/java/jres/base_jre.go:49–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47}
48
49func (b *BaseJRE) Detect() (bool, error) {
50 return DetectJREByEnv(b.jreKey), nil
51}
52
53func (b *BaseJRE) Supply() error {
54 b.ctx.Log.BeginStep("Installing %s", b.jreName)

Callers

nothing calls this directly

Calls 1

DetectJREByEnvFunction · 0.85

Tested by

no test coverage detected