Class TaskProperties


  • public class TaskProperties
    extends Object
    Class representing main task properties.
    • Method Detail

      • name

        public ObjectName name()
        Returns the task object name.
        Returns:
        task object name
      • definition

        public String definition()
        Returns the task definition.
        Returns:
        task definition
      • schedule

        public String schedule()
        Returns the task schedule.
        Returns:
        task schedule
      • state

        public String state()
        Returns the task state.
        Returns:
        task state
      • warehouse

        public String warehouse()
        Returns the task warehouse.
        Returns:
        task warehouse
      • warehouseReference

        public Optional<Reference> warehouseReference()
        Returns the task warehouse reference.
        Returns:
        task warehouse reference
      • warehouseIdentifier

        public Optional<Identifier> warehouseIdentifier()
        Returns the task warehouse identifier.
        Returns:
        task warehouse identifier
      • condition

        public String condition()
        Returns the task condition.
        Returns:
        task condition
      • allowOverlappingExecution

        public boolean allowOverlappingExecution()
        Returns whether the task allows overlapping execution.
        Returns:
        whether the task allows overlapping execution
      • suspendTaskAfterNumFailures

        public Integer suspendTaskAfterNumFailures()
        Returns the number of task failures before suspension.
        Returns:
        number of task failures before suspension
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object