Class JobMetadata
java.lang.Object
com.netflix.genie.common.internal.dtos.CommonMetadata
com.netflix.genie.common.internal.dtos.JobMetadata
- All Implemented Interfaces:
Serializable
Metadata supplied by a user for a job.
- Since:
- 4.0.0
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
A builder to create job user metadata instances. -
Method Summary
Modifier and TypeMethodDescriptiongetEmail()
Get the email for the user if there is one as anOptional
.getGroup()
Get the group the user should is a member of as anOptional
.Get the grouping for this job if there currently is one as anOptional
.Get the grouping instance for this job if there currently is one as anOptional
.Methods inherited from class com.netflix.genie.common.internal.dtos.CommonMetadata
getDescription, getMetadata, getTags
-
Method Details
-
getGroup
Get the group the user should is a member of as anOptional
.- Returns:
- The group as an optional
-
getEmail
Get the email for the user if there is one as anOptional
.- Returns:
- The email address as an Optional
-
getGrouping
Get the grouping for this job if there currently is one as anOptional
.- Returns:
- The grouping
-
getGroupingInstance
Get the grouping instance for this job if there currently is one as anOptional
.- Returns:
- The grouping instance
-