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
Nested ClassesModifier and TypeClassDescriptionstatic classDefaults for container images that will combine together to execute the Genie job.static classComputation resource properties.static classContainer for the runtime defaults set in properties. -
Constructor Summary
ConstructorsConstructorDescriptionJobResolutionProperties(org.springframework.core.env.Environment environment) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the defaultComputeResourcesif any were defined.Get the default mapping of images.voidrefresh()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 defaultComputeResourcesif any were defined.- Returns:
- The current default
ComputeResourcesvalues
-
getDefaultImages
Get the default mapping of images.- Returns:
- The map of image key to
Imagevalues
-
refresh
Refresh the values of the properties contained within this object.
-