Package com.yahoo.config.provision
Class NodeFlavors
java.lang.Object
com.yahoo.config.provision.NodeFlavors
All the flavors configured in this zone (i.e this should be called HostFlavors).
- Author:
- bratseth
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns true if this flavor is configured or can be created on the flyReturns a flavor by name, or empty if there is no flavor with this name and it cannot be created on the fly.getFlavorOrThrow
(String flavorName) Returns the flavor with the given name or throws an IllegalArgumentException if it does not exist and cannot be created on the fly.toString()
-
Constructor Details
-
NodeFlavors
-
NodeFlavors
-
-
Method Details
-
getFlavors
-
getFlavor
Returns a flavor by name, or empty if there is no flavor with this name and it cannot be created on the fly. -
getFlavorOrThrow
Returns the flavor with the given name or throws an IllegalArgumentException if it does not exist and cannot be created on the fly. -
exists
Returns true if this flavor is configured or can be created on the fly -
toString
-