2 # This is an abstract class that documents the WorkUnit interface
5 # returns the label that was assigned when creating the work unit
9 # returns the arvados UUID of the underlying object
13 # returns an array of child work units
16 def modified_by_user_uuid
17 # returns uuid of the user who modified this work unit most recently
21 # returns created_at timestamp
25 # returns started_at timestamp for this work unit
29 # returns finished_at timestamp
33 # returns a string representing state of the work unit
36 def state_bootstrap_class
37 # returns a class like "danger", "success", or "warning" that a view can use directly to make a display class
41 # returns true if the work unit finished successfully,
42 # false if it has a permanent failure,
43 # and nil if the final state is not determined.
47 # returns a number between 0 and 1
51 # returns uuid or pdh with saved log data, if any
55 # returns work unit parameters, if any
59 # returns script for this work unit, if any
63 # returns this work unit's script repository, if any
67 # returns this work unit's script_version, if any
70 def supplied_script_version
71 # returns this work unit's supplied_script_version, if any
75 # returns this work unit's docker_image, if any
78 def runtime_constraints
79 # returns this work unit's runtime_constraints, if any
83 # returns this work unit's priority, if any
87 # returns if this is nondeterministic
91 # returns uuid or pdh of output data, if any
95 # summary status of any children of this work unit
99 # textual representation of child summary
103 # returns true if this work unit can be canceled
107 # is the proxied object readable by current user?
111 # returns the uri for this work unit
115 # title for the work unit
118 def has_unreadable_children
119 # accept it if you can't understand your own children