Package Ganga :: Package GPIDev :: Package Lib :: Package Tasks :: Module Task' :: Class Task :: Class _proxyClass
[hide private]
[frames] | no frames]

Class _proxyClass

source code

    object --+    
             |    
GPIProxyObject --+
                 |
                Lib.Tasks.Task'.Task._proxyClass

This is a Task without special properties

Properties:

     status      Status - new, running, pause or completed. (simple property,
                 default='new',protected,comparable)

     name        Name of the Task. (simple property,
                 default='NewTask',comparable)

     float       Number of Jobs run concurrently. (simple property,
                 default=0,comparable)

     resub_limit Resubmit only if the number of running jobs is less than
                 "resub_limit" times the float. This makes the job table
                 clearer, since more jobs can be submitted as subjobs.. (simple
                 property, default=0.9,comparable)

     transforms  list of transforms. ('transforms' object, list,
                 default=[],comparable)

     id          ID of the Task. (simple property,
                 default=-1,protected,comparable)

Nested Classes [hide private]
  _impl
This is a Ganga.GPI.Task implementation class.
Instance Methods [hide private]
 
__eq__(self, x)
Equality operator (==), compare the Task properties which are declared as [comparable].
source code
 
__init__(self, *args, **kwds)
GPI Task object constructor: Task() : create task with default settings; Task(t) : make a copy of t; Task(t,x=a,...): make a copy of t and set property 'x' to a, etc..
source code
 
__ne__(self, x)
Non-equality operator (!=).
source code
 
__repr__(self)
Return an short representation of Task object.
source code
 
__setattr__(self, x, v)
Set a property of Task with consistency and safety checks.
source code
 
__str__(self)
Return a printable string representing Task object as a tree of properties.
source code
 
appendTransform(...)
Append transform
source code
 
check(...)
This function is called by run() or manually by the user
source code
 
copy(self)
Make an identical copy of self.
source code
 
getJobs(...)
Get the job slice of all jobs that process this task
source code
 
help(...) source code
 
info(...) source code
 
insertTransform(...)
Insert transfrm tf before index id (counting from 0)
source code
 
n_all(...) source code
 
n_status(...) source code
 
overview(...)
Get an ascii art overview over task status.
source code
 
pause(...)
Pause the task - the background thread will not submit new jobs from this task
source code
 
remove(...)
Delete the task
source code
 
removeTransform(...)
Remove the transform with the index id (counting from 0)
source code
 
run(...)
Confirms that this task is fully configured and ready to be run.
source code
 
setBackend(...)
Sets the backend on all transforms
source code
 
setParameter(...)
Use: setParameter(processName="HWW") to set the processName in all applications to "HWW" Warns if applications are not affected because they lack the parameter
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __sizeof__, __subclasshook__

Class Variables [hide private]
  float = <Ganga.GPIDev.Base.Proxy.ProxyDataDescriptor object at...
  id = <Ganga.GPIDev.Base.Proxy.ProxyDataDescriptor object at 0x...
  name = <Ganga.GPIDev.Base.Proxy.ProxyDataDescriptor object at ...
  resub_limit = <Ganga.GPIDev.Base.Proxy.ProxyDataDescriptor obj...
  status = <Ganga.GPIDev.Base.Proxy.ProxyDataDescriptor object a...
  transforms = <Ganga.GPIDev.Base.Proxy.ProxyDataDescriptor obje...
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, *args, **kwds)
(Constructor)

source code 

GPI Task object constructor: Task() : create task with default settings; Task(t) : make a copy of t; Task(t,x=a,...): make a copy of t and set property 'x' to a, etc..

Overrides: object.__init__

__repr__(self)
(Representation operator)

source code 

Return an short representation of Task object.

Overrides: object.__repr__

__setattr__(self, x, v)

source code 

Set a property of Task with consistency and safety checks. Setting a [protected] or a unexisting property raises AttributeError.

Overrides: object.__setattr__

__str__(self)
(Informal representation operator)

source code 

Return a printable string representing Task object as a tree of properties.

Overrides: object.__str__

overview(...)

source code 

Get an ascii art overview over task status. Can be overridden


Class Variable Details [hide private]

float

Value:
<Ganga.GPIDev.Base.Proxy.ProxyDataDescriptor object at 0x1c93490>

id

Value:
<Ganga.GPIDev.Base.Proxy.ProxyDataDescriptor object at 0x1c93650>

name

Value:
<Ganga.GPIDev.Base.Proxy.ProxyDataDescriptor object at 0x1c93410>

resub_limit

Value:
<Ganga.GPIDev.Base.Proxy.ProxyDataDescriptor object at 0x1c93550>

status

Value:
<Ganga.GPIDev.Base.Proxy.ProxyDataDescriptor object at 0x1c93390>

transforms

Value:
<Ganga.GPIDev.Base.Proxy.ProxyDataDescriptor object at 0x1c935d0>