Package jetbrains.buildServer.serverSide
Class ReadOnlyReason
- java.lang.Object
-
- jetbrains.buildServer.serverSide.ReadOnlyReason
-
public class ReadOnlyReason extends Object
Describes why a particular object (project, build configuration or a template) is read only- Since:
- 2021.1
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ReadOnlyReason.Type
-
Constructor Summary
Constructors Constructor Description ReadOnlyReason(ReadOnlyReason.Type type, String description)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
ReadOnlyReason.Type
getType()
-
-
-
Constructor Detail
-
ReadOnlyReason
public ReadOnlyReason(@NotNull ReadOnlyReason.Type type, @NotNull String description)
-
-
Method Detail
-
getType
@NotNull public ReadOnlyReason.Type getType()
- Returns:
- type of the object read only state
-
getDescription
@NotNull public String getDescription()
- Returns:
- human friendly description of why the object is read only
-
-