Class Priority


  • public class Priority
    extends java.lang.Object
    Priority contains metadata that controls the relative ordering of task processing when tasks are backed up in a queue. The affected queues depend on the server version.

    Priority is attached to workflows and activities. By default, activities and child workflows inherit Priority from the workflow that created them, but may override fields when an activity is started or modified.

    For all fields, the field not present or equal to zero/empty string means to inherit the value from the calling workflow, or if there is no calling workflow, then use the default value.

    • Method Detail

      • getDefaultInstance

        public static Priority getDefaultInstance()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object