summaryrefslogtreecommitdiffstats
path: root/config-provisioning/src/main/java
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2019-03-22 10:33:40 +0100
committerMartin Polden <mpolden@mpolden.no>2019-03-22 10:57:00 +0100
commit4e17ebaea7a20506d5edd4d26baa68767a0c59b7 (patch)
tree26292a68cd00b691a6bd5332a09a0a30f268539a /config-provisioning/src/main/java
parent519d59334ca8c3e314e71f83de618e375a7c2d6c (diff)
Define roles and policies
Diffstat (limited to 'config-provisioning/src/main/java')
-rw-r--r--config-provisioning/src/main/java/com/yahoo/config/provision/SystemName.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/config-provisioning/src/main/java/com/yahoo/config/provision/SystemName.java b/config-provisioning/src/main/java/com/yahoo/config/provision/SystemName.java
index 891c213e9aa..2de11be08f2 100644
--- a/config-provisioning/src/main/java/com/yahoo/config/provision/SystemName.java
+++ b/config-provisioning/src/main/java/com/yahoo/config/provision/SystemName.java
@@ -1,6 +1,9 @@
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.config.provision;
+import java.util.EnumSet;
+import java.util.Set;
+
/**
* Systems in hosted Vespa
*
@@ -39,4 +42,8 @@ public enum SystemName {
}
}
+ public static Set<SystemName> all() {
+ return EnumSet.allOf(SystemName.class);
+ }
+
}