GGUSTicketsPolicy
policy that evaluates on how many tickets are open at the moment.
- class DIRAC.ResourceStatusSystem.Policy.GGUSTicketsPolicy.GGUSTicketsPolicy
Bases:
PolicyBaseThe GGUSTicketsPolicy class is a policy class that evaluates on how many tickets are open at the moment.
GGUSTicketsPolicy, given the number of GGUS tickets opened, proposes a new status for the element.
- __init__()
Constructor
- evaluate()
Before use, call setCommand.
Invoking super(PolicyCLASS, self).evaluate will invoke the command (if necessary) as it is provided and returns the results.
- setCommand(policyCommand)
Set self.command.
- Params:
commandIn: a command object