Runner Type as consts

This patch adds new consts class for runner type and also fixs some
missing place of old runner type

Change-Id: I3dc75b31bae1a053ed705049c4c40d98c5e79679
This commit is contained in:
Kun Huang 2014-04-22 11:02:41 +08:00
parent f59d836d83
commit 2fa7a5e0ff

@ -53,6 +53,14 @@ class _EndpointPermission(utils.ImmutableMixin, utils.EnumMixin):
USER = "user"
class _RunnerType(utils.ImmutableMixin, utils.EnumMixin):
SERIAL = "serial"
CONSTANT = "constant"
CONSTANT_FOR_DURATION = "constant_for_duration"
PERIODIC = "periodic"
TaskStatus = _TaskStatus()
DeployStatus = _DeployStatus()
EndpointPermission = _EndpointPermission()
RunnerType = _RunnerType()