@ParametersAreNonnullByDefault
Package com.netflix.genie.web.scripts
Package for script loaded at runtime to provide custom extensions and behavior.
- Since:
- 4.0.0
-
Class Summary Class Description AgentLauncherSelectorManagedScript Extension ofResourceSelectorScript
that delegates selection of a job's agent launcher when more than one choice is available.ClusterSelectorManagedScript Extension ofResourceSelectorScript
that delegates selection of a job's cluster when more than one choice is available.CommandSelectorManagedScript An extension ofResourceSelectorScript
which from a set of commands and the original job request will attempt to determine the best command to use for execution.GroovyScriptUtils Utility functions that can be used within Groovy scripts executed from Genie.ManagedScript Abstract script class for components that rely on an external script to be loaded and invoked at runtime.ManagedScriptBaseProperties Base abstract properties for individual script classes to extend.ResourceSelectorScript<R,C extends ResourceSelectionContext<R>> Interface for defining the contract between the selection of a resource from a set of resources for a given job request.ResourceSelectorScriptResult<R> Class to represent a generic response from a script which selects a resource from a set of resources.ResourceSelectorScriptResult.Builder<R> A builder for these the results to prevent scripts from having to redo everything based on constructors if we change parameters.ScriptManager Utility to load, reload and execute scripts (in whichever format/language supported byScriptEngine
) via URI (e.g., local file, classpath, URL).