Activity¶
- class DIRAC.FrameworkSystem.private.monitoring.Activity.Activity(dataList)¶
Bases:
object
This class is maintained in order to maintain a basic mapping of the sqlite3 database meaning what all tables and fields the database uses and it creates a mapping for them which is further used by the MonitoringCatalog class.
- __init__(dataList)¶
Init an activity
- dbFields = ['activities.unit', 'activities.type', 'activities.description', 'activities.filename', 'activities.bucketLength', 'sources.site', 'sources.componentType', 'sources.componentLocation', 'sources.componentName']¶
- dbMapping = {}¶
- getBucketLength()¶
Gets an activity’s bucket length.
- getComponentLocation()¶
Gets an source’s component location.
- getComponentName()¶
Gets an source’s component name.
- getComponentType()¶
Gets an source’s component type.
- getDescription()¶
Gets an activity’s unit
- getFile()¶
Gets an activity’s file.
- getGroupLabel()¶
Gets a group’s label.
- getLabel()¶
- getSite()¶
Gets an source’s site.
- getType()¶
Gets an activity’s type.
- getUnit()¶
Gets an activity’s unit.
- setBucketScaleFactor(scaleFactor)¶
Sets a bucket scale factor.
- setGroup(group)¶
Set group to which this activity belongs
- setLabel(labelTemplate)¶
Sets an activity label