Class ProjectFeature.ProjectFeatureBuilder
java.lang.Object
io.github.primelib.jira4j.restv3.model.ProjectFeature.ProjectFeatureBuilder
- Enclosing class:
- ProjectFeature
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
The key of the feature.URI for the image representing the feature.localisedDescription
(String localisedDescription) Localized display description for the feature.localisedName
(String localisedName) Localized display name for the feature.prerequisites
(List<String> prerequisites) List of keys of the features required to enable the feature.The ID of the project.state
(ProjectFeature.StateEnum state) The state of the feature.toggleLocked
(Boolean toggleLocked) Whether the state of the feature can be updated.toString()
-
Method Details
-
feature
The key of the feature.- Returns:
this
.
-
imageUri
URI for the image representing the feature.- Returns:
this
.
-
localisedDescription
Localized display description for the feature.- Returns:
this
.
-
localisedName
Localized display name for the feature.- Returns:
this
.
-
prerequisites
List of keys of the features required to enable the feature.- Returns:
this
.
-
projectId
The ID of the project.- Returns:
this
.
-
state
The state of the feature. When updating the state of a feature, only ENABLED and DISABLED are supported. Responses can contain all values- Returns:
this
.
-
toggleLocked
Whether the state of the feature can be updated.- Returns:
this
.
-
build
-
toString
-