9 #ifndef __PDG_JOB_SCRIPT_INFO_H__
10 #define __PDG_JOB_SCRIPT_INFO_H__
47 void setServiceCompatibility(
49 void setServiceCompatibility(
54 { myIsMainThread = is_main_thread; }
56 { myIsNative = is_native; }
58 void setCommandOverride(
59 CommandType command_type,
62 bool isServiceCompatible(
64 bool isServiceCompatible(
71 {
return myIsStandardScript; }
73 {
return myIsMainThread; }
75 {
return myIsNative; }
78 {
return myModuleName; }
80 {
return myPythonExecutable; }
82 {
return myExtraArgs; }
84 {
return myCustomCommand; }
86 {
return myServiceTypeNames; }
89 {
return myCommandType; }
99 CommandType myCommandType;
101 bool myIsStandardScript;
CommandType commandType() const
bool isStandardScript() const
const UT_StringHolder & moduleName() const
Use a fully custom command string.
const UT_StringArray & serviceTypeNames() const
const UT_StringHolder & pythonExecutable() const
void setIsMainThread(bool is_main_thread)
const UT_StringHolder & extraArgs() const
Use the default command or the one set by the node itself.
const UT_StringHolder & customCommand() const
void setIsNative(bool is_native)
bool isMainThread() const