Package com.yahoo.config.provision
Enum SystemName
- java.lang.Object
-
- java.lang.Enum<SystemName>
-
- com.yahoo.config.provision.SystemName
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SystemName>
public enum SystemName extends java.lang.Enum<SystemName>
Systems in hosted Vespa- Author:
- mpolden
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.Set<SystemName>
all()
static java.util.Set<SystemName>
allOf(java.util.function.Predicate<SystemName> predicate)
static SystemName
defaultSystem()
static SystemName
from(java.lang.String value)
boolean
isCd()
Whether the system is used for continuous deployment.boolean
isPublic()
Whether the system is similar to Public, e.g.java.lang.String
value()
static SystemName
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SystemName[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
cd
public static final SystemName cd
Continuous deployment system
-
main
public static final SystemName main
Production system
-
Public
public static final SystemName Public
System accessible to the public
-
PublicCd
public static final SystemName PublicCd
Continuous deployment system for testing the Public system
-
dev
public static final SystemName dev
Local development system
-
-
Method Detail
-
values
public static SystemName[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SystemName c : SystemName.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SystemName valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
defaultSystem
public static SystemName defaultSystem()
-
from
public static SystemName from(java.lang.String value)
-
value
public java.lang.String value()
-
isPublic
public boolean isPublic()
Whether the system is similar to Public, e.g. PublicCd.
-
isCd
public boolean isCd()
Whether the system is used for continuous deployment.
-
all
public static java.util.Set<SystemName> all()
-
allOf
public static java.util.Set<SystemName> allOf(java.util.function.Predicate<SystemName> predicate)
-
-