JobState(3pm)

πŸ“¦
version 13.6 Β· 2 versions
  • 13.6 Β· debian bookworm, debian trixie, epel 10, epel 9, fedora 43, fedora 44, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 13.5 Β· ubuntu jammy
, in debian bookworm, debian trixie, epel 10, epel 9, fedora 43, fedora 44, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– JobState β€” the GRAM Protocol's cutest little constant catalogue πŸ’–

okay bestie, so this is Globus::GRAM::JobState from the Perl manual pages (3pm, user contributed, we love a community moment 🫢), and it's genuinely so simple it's almost rude.


✨ NAME ✨

Globus::GRAM::JobState β€” GRAM Protocol JobState Constants πŸŽ€


🌸 DESCRIPTION 🌸

so the Globus::GRAM::JobState module is literally just a little vibe-check dictionary, no cap. it defines symbolic names for the JobState constants in the GRAM Protocol. that's it. that's the whole job. it hands you pretty names instead of you having to remember raw numbers like some kind of medieval peasant. iconic behaviour honestly πŸ‘‘


πŸ¦‹ Methods πŸ¦‹

every single one of these is a lil function that just returns the value of its constant. no side effects, no drama, no plot twists. they're all giving "I'm just here to be helpful" energy and we respect it fr fr πŸ’…

  • $value = Globus::GRAM::PENDING() β€” hands you back the value of the PENDING constant πŸ“
  • $value = Globus::GRAM::ACTIVE() β€” hands you back the value of the ACTIVE constant ✨
  • $value = Globus::GRAM::FAILED() β€” hands you back the value of the FAILED constant 😭
  • $value = Globus::GRAM::DONE() β€” hands you back the value of the DONE constant βœ…
  • $value = Globus::GRAM::SUSPENDED() β€” hands you back the value of the SUSPENDED constant πŸ™ˆ
  • $value = Globus::GRAM::UNSUBMITTED() β€” hands you back the value of the UNSUBMITTED constant πŸ’œ
  • $value = Globus::GRAM::STAGE_IN() β€” hands you back the value of the STAGE_IN constant 🌈
  • $value = Globus::GRAM::STAGE_OUT() β€” hands you back the value of the STAGE_OUT constant 🧚
  • $value = Globus::GRAM::ALL() β€” hands you back the value of the ALL constant, the main character of the group fr πŸ‘‘

bestie reminder: that's nine constants. nine. count them. PENDING, ACTIVE, FAILED, DONE, SUSPENDED, UNSUBMITTED, STAGE_IN, STAGE_OUT, ALL. no more, no less, and every one of them has a matching method up there πŸ’–

and that's the whole page, bestie, we ate and left no crumbs 🍽️✨

this one comes to you courtesy of perl v5.16.3, dated 2022-05-24 β€” so she's a vintage queen and she's still serving πŸ’…πŸ‘‘ mwah, go call your constants πŸ«ΆπŸ’–