Enum Availability
- java.lang.Object
-
- java.lang.Enum<Availability>
-
- jetbrains.buildServer.serverSide.impl.artifacts.Availability
-
- All Implemented Interfaces:
Serializable
,Comparable<Availability>
public enum Availability extends Enum<Availability>
Artifact availability- Since:
- 6.5
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FILTERED_OUT
Artifact is not visible to client as if there is no file on filesystemNOT_ACCESSIBLE
Artifact is not accessible due to security check, no matter if it existsVISIBLE
Artifact is visible and returned to callee
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Availability
valueOf(String name)
Returns the enum constant of this type with the specified name.static Availability[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VISIBLE
public static final Availability VISIBLE
Artifact is visible and returned to callee- Since:
- 6.5
-
FILTERED_OUT
public static final Availability FILTERED_OUT
Artifact is not visible to client as if there is no file on filesystem- Since:
- 6.5
-
NOT_ACCESSIBLE
public static final Availability NOT_ACCESSIBLE
Artifact is not accessible due to security check, no matter if it exists- Since:
- 6.5
-
-
Method Detail
-
values
public static Availability[] 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 (Availability c : Availability.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Availability valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-