diff options
Diffstat (limited to 'controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/zone/ZoneList.java')
-rw-r--r-- | controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/zone/ZoneList.java | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/zone/ZoneList.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/zone/ZoneList.java deleted file mode 100644 index cd263769864..00000000000 --- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/zone/ZoneList.java +++ /dev/null @@ -1,34 +0,0 @@ -package com.yahoo.vespa.hosted.controller.api.integration.zone; - -import com.yahoo.config.provision.Environment; -import com.yahoo.config.provision.RegionName; - -import java.util.List; - -/** - * Provides filters for and access to a list of ZoneIds. - * - * This is typically offered after an initial filter from {@link ZoneFilter} has been applied. - * This forces the developer to consider which zones to process. - * - * @author jvenstad - */ -public interface ZoneList extends ZoneFilter { - - /** Negates the next filter. */ - @Override - ZoneList not(); - - /** Zones in the given environment. */ - ZoneList in(Environment environment); - - /** Zones in the given region. */ - ZoneList in(RegionName region); - - /** Only the given zones — combine with not() for best effect! */ - ZoneList zones(ZoneId... zones); - - /** Returns the id of all zones in this list as — you guessed it — a list. */ - List<ZoneId> ids(); - -} |