Package com.netflix.genie.web.properties
Class JobResolutionProperties.Runtime
java.lang.Object
com.netflix.genie.web.properties.JobResolutionProperties.Runtime
- Enclosing class:
- JobResolutionProperties
Container for the runtime defaults set in properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe map of image key to image definitions.Get theJobResolutionProperties.Resources.voidSet the new default image mappings.voidsetResources(JobResolutionProperties.Resources resources) Set the new resources or fall back to default.
-
Constructor Details
-
Runtime
public Runtime()Constructor.
-
-
Method Details
-
getResources
Get theJobResolutionProperties.Resources.- Returns:
- The resources defined by default
-
setResources
Set the new resources or fall back to default.- Parameters:
resources- The new resource or null to reset to default.
-
getImages
The map of image key to image definitions.- Returns:
- The images
-
setImages
Set the new default image mappings.- Parameters:
images- The new mappings or if null empty the set of mappings
-