{"modulePath":"github.com/heroku/java-function-buildpack","version":"v0.3.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package java\n\n## Constants\n\n```go\nconst (\n\t// Dependency is the key identifying the riff java invoker in the buildpack plan.\n\tDependency = \"riff-invoker-java\"\n\t// Handler is the key identifying the riff handler metadata in the build plan\n\tHandler = \"handler\"\n)\n```\n\n## Functions\n\n```go\nfunc BuildPlanContribution(detect detect.Detect, metadata function.Metadata) buildplan.Plan\n```\nBuildPlanContribution returns the BuildPlan with requirements for the invoker\n\n```go\nfunc NewBuildpack() function.Buildpack\n```\n\n## Types\n\n```go\ntype JavaBuildpack struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*JavaBuildpack) Build(b build.Build) error\n```\n\n```go\nfunc (bp *JavaBuildpack) Detect(d detect.Detect, m function.Metadata) (*buildplan.Plan, error)\n```\n\n```go\nfunc (bp *JavaBuildpack) Id() string\n```\n\n```go\ntype RiffJavaInvoker struct {\n\t// contains filtered or unexported fields\n}\n```\nRiffJavaInvoker represents the Java invoker contributed by the buildpack.\n\n```go\nfunc NewJavaInvoker(build build.Build) (RiffJavaInvoker, bool, error)\n```\nNewJavaInvoker creates a new RiffJavaInvoker instance. OK is true if build plan contains \"riff-invoker-java\" dependency, otherwise false.\n\n```go\nfunc (r RiffJavaInvoker) Contribute() error\n```\nContribute makes the contribution to the launch layer\n\n","path":"github.com/heroku/java-function-buildpack/java","name":"java","synopsis":"","isRedistributable":true}
