Enum BuildArtifactsViewMode
- java.lang.Object
-
- java.lang.Enum<BuildArtifactsViewMode>
-
- jetbrains.buildServer.serverSide.artifacts.BuildArtifactsViewMode
-
- All Implemented Interfaces:
Serializable
,Comparable<BuildArtifactsViewMode>
public enum BuildArtifactsViewMode extends Enum<BuildArtifactsViewMode>
Represent build artifacts view mode- Since:
- 6.5
-
-
Enum Constant Summary
Enum Constants Enum Constant Description VIEW_ALL
Will show all build artifacts i.e.VIEW_ALL_WITH_ARCHIVES_CONTENT
Will show all build artifacts and archives contentVIEW_DEFAULT
Will show all user-published artifactsVIEW_DEFAULT_WITH_ARCHIVES_CONTENT
Will show all user-published artifacts and archives contentVIEW_HIDDEN_ONLY
Will show only hidden build artifactsVIEW_INTERNAL_ONLY
Will show all build artifacts stored internally
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isViewArchivesContent()
boolean
isViewExternal()
boolean
isViewHidden()
boolean
isViewPublic()
static BuildArtifactsViewMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static BuildArtifactsViewMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VIEW_DEFAULT
public static final BuildArtifactsViewMode VIEW_DEFAULT
Will show all user-published artifacts- Since:
- 6.5
-
VIEW_ALL
public static final BuildArtifactsViewMode VIEW_ALL
Will show all build artifacts i.e. will include hidden artifacts too- Since:
- 6.5
-
VIEW_HIDDEN_ONLY
public static final BuildArtifactsViewMode VIEW_HIDDEN_ONLY
Will show only hidden build artifacts- Since:
- 6.5
-
VIEW_ALL_WITH_ARCHIVES_CONTENT
public static final BuildArtifactsViewMode VIEW_ALL_WITH_ARCHIVES_CONTENT
Will show all build artifacts and archives content- Since:
- 8.0
-
VIEW_DEFAULT_WITH_ARCHIVES_CONTENT
public static final BuildArtifactsViewMode VIEW_DEFAULT_WITH_ARCHIVES_CONTENT
Will show all user-published artifacts and archives content- Since:
- 8.0
-
VIEW_INTERNAL_ONLY
public static final BuildArtifactsViewMode VIEW_INTERNAL_ONLY
Will show all build artifacts stored internally- Since:
- 2017.1
-
-
Method Detail
-
values
public static BuildArtifactsViewMode[] 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 (BuildArtifactsViewMode c : BuildArtifactsViewMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BuildArtifactsViewMode 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
-
isViewPublic
public boolean isViewPublic()
-
isViewHidden
public boolean isViewHidden()
-
isViewArchivesContent
public boolean isViewArchivesContent()
-
isViewExternal
public boolean isViewExternal()
-
-