MCPcopy Index your code
hub / github.com/cloudfoundry/java-buildpack / NewRegistry

Function NewRegistry

src/java/frameworks/framework.go:37–42  ·  view source on GitHub ↗

NewRegistry creates a new framework registry

(ctx *common.Context)

Source from the content-addressed store, hash-verified

35
36// NewRegistry creates a new framework registry
37func NewRegistry(ctx *common.Context) *Registry {
38 return &Registry{
39 frameworks: []Framework{},
40 context: ctx,
41 }
42}
43
44// Register adds a framework to the registry
45func (r *Registry) Register(f Framework) {

Callers 3

framework_test.goFile · 0.92
installFrameworksMethod · 0.92
finalizeFrameworksMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected