BaseAction

BaseAction

Base class for Actions.

class DIRAC.ResourceStatusSystem.PolicySystem.Actions.BaseAction.BaseAction(name, decisionParams, enforcementResult, singlePolicyResults, clients)

Bases: object

Base class for all actions. It defines a constructor an a run main method.

__init__(name, decisionParams, enforcementResult, singlePolicyResults, clients)

x.__init__(…) initializes x; see help(type(x)) for signature

run()

Method to be over written by the real actions