Package com.netflix.genie.web.properties
Class JobResolutionProperties
java.lang.Object
com.netflix.genie.web.properties.JobResolutionProperties
Properties related to the job resolution process. If loaded as a Spring bean this class with auto refresh its
contents.
- Since:
- 4.3.0
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Defaults for container images that will combine together to execute the Genie job.static class
Computation resource properties.static class
Container for the runtime defaults set in properties. -
Constructor Summary
ConstructorDescriptionJobResolutionProperties
(org.springframework.core.env.Environment environment) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the defaultComputeResources
if any were defined.Get the default mapping of images.void
refresh()
Refresh the values of the properties contained within this object.
-
Constructor Details
-
JobResolutionProperties
public JobResolutionProperties(org.springframework.core.env.Environment environment) Constructor.- Parameters:
environment
- The spring environment
-
-
Method Details
-
getDefaultComputeResources
Get the defaultComputeResources
if any were defined.- Returns:
- The current default
ComputeResources
values
-
getDefaultImages
Get the default mapping of images.- Returns:
- The map of image key to
Image
values
-
refresh
Refresh the values of the properties contained within this object.
-