Added service.package.type check.
This commit is contained in:
parent
f1dec19522
commit
0ac6c42fc2
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2020 Christian Pierre MOMON <christian@momon.org>
|
||||
* Copyright (C) 2020-2021 Christian Pierre MOMON <christian@momon.org>
|
||||
*
|
||||
* This file is part of StatoolInfos, simple service statistics tool.
|
||||
*
|
||||
|
@ -160,6 +160,7 @@ public class PropertyChecker
|
|||
this.serviceRules.add("service.status.level", "^(OK|WARNING|ALERT|ERROR|OVER|VOID)$", PropertyMode.MANDATORY);
|
||||
this.serviceRules.add("service.status.description", STRING, PropertyMode.OPTIONAL);
|
||||
this.serviceRules.add("service.registration", "^(None|Free|Member|Client)([,;+](None|Free|Member|Client))?$", PropertyMode.MANDATORY);
|
||||
this.serviceRules.add("service.package.type", "^(DISTRIB|CLONEREPO|ARCHIVE|SOURCES|CONTAINER)$", PropertyMode.MANDATORY);
|
||||
|
||||
this.serviceRules.add("software.name", STRING, PropertyMode.MANDATORY);
|
||||
this.serviceRules.add("software.website", URL, PropertyMode.WISHED);
|
||||
|
|
Loading…
Reference in a new issue