Class MabJobExtendedInfo


  • public final class MabJobExtendedInfo
    extends Object
    Additional information for the MAB workload-specific job.
    • Constructor Detail

      • MabJobExtendedInfo

        public MabJobExtendedInfo()
    • Method Detail

      • tasksList

        public List<MabJobTaskDetails> tasksList()
        Get the tasksList property: List of tasks for this job.
        Returns:
        the tasksList value.
      • withTasksList

        public MabJobExtendedInfo withTasksList​(List<MabJobTaskDetails> tasksList)
        Set the tasksList property: List of tasks for this job.
        Parameters:
        tasksList - the tasksList value to set.
        Returns:
        the MabJobExtendedInfo object itself.
      • propertyBag

        public Map<String,​String> propertyBag()
        Get the propertyBag property: The job properties.
        Returns:
        the propertyBag value.
      • withPropertyBag

        public MabJobExtendedInfo withPropertyBag​(Map<String,​String> propertyBag)
        Set the propertyBag property: The job properties.
        Parameters:
        propertyBag - the propertyBag value to set.
        Returns:
        the MabJobExtendedInfo object itself.
      • dynamicErrorMessage

        public String dynamicErrorMessage()
        Get the dynamicErrorMessage property: Non localized error message specific to this job.
        Returns:
        the dynamicErrorMessage value.
      • withDynamicErrorMessage

        public MabJobExtendedInfo withDynamicErrorMessage​(String dynamicErrorMessage)
        Set the dynamicErrorMessage property: Non localized error message specific to this job.
        Parameters:
        dynamicErrorMessage - the dynamicErrorMessage value to set.
        Returns:
        the MabJobExtendedInfo object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.