JobRunner job parameter data
Definition at line 69 of file JobRunner.py.
◆ __init__()
| python.JobRunner.JobRunnerParameter.__init__ |
( |
| self, |
|
|
| name, |
|
|
| value = '', |
|
|
| description = '', |
|
|
| isSpecial = False ) |
Definition at line 72 of file JobRunner.py.
72 def __init__(self,name,value='',description='',isSpecial=False):
73 self.name = name
74 self.value = value
75 self.description = description
76 self.isSpecial = isSpecial
77
◆ __str__()
| python.JobRunner.JobRunnerParameter.__str__ |
( |
| self | ) |
|
Definition at line 78 of file JobRunner.py.
78 def __str__(self):
79 if self.isSpecial:
80 return "%-20s = %-20s # SPECIAL - %s" % (self.name,self.value,self.description)
81 else:
82 if self.description:
83 return "%-20s = %-20s # %s" % (self.name,self.value,self.description)
84 else:
85 return "%-20s = %-20s" % (self.name,self.value)
86
◆ description
| python.JobRunner.JobRunnerParameter.description = description |
◆ isSpecial
| python.JobRunner.JobRunnerParameter.isSpecial = isSpecial |
◆ name
| python.JobRunner.JobRunnerParameter.name = name |
◆ value
| python.JobRunner.JobRunnerParameter.value = value |
The documentation for this class was generated from the following file: