Package cdc.issues.answers
Class IssueAnswer.Builder
java.lang.Object
cdc.issues.answers.IssueAnswer.Builder
- All Implemented Interfaces:
LabelsBuilding<IssueAnswer.Builder>,MetasBuilding<IssueAnswer.Builder>
- Enclosing interface:
- IssueAnswer
public static class IssueAnswer.Builder
extends Object
implements MetasBuilding<IssueAnswer.Builder>, LabelsBuilding<IssueAnswer.Builder>
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) String(package private) String(package private) final List<IssueComment>(package private) Instant(package private) IssueId(package private) Labels(package private) final Metas.Builder(package private) Instant(package private) IssueSeverity(package private) IssueResolution(package private) IssueStatus -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()comment(IssueComment comment) comments(List<? extends IssueComment> comments) creationDate(Instant creationDate) Sets the labels.Adds a new or replaces an existing (name, value) pair.Adds a new or modifies an existing (name, value) pair.Adds new or replaces existing (name, value) pairs.modificationDate(Instant modificationDate) newSeverity(IssueSeverity newSeverity) resolution(IssueResolution resolution) status(IssueStatus status) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cdc.issues.LabelsBuilding
labels, labelsMethods inherited from interface cdc.issues.MetasBuilding
meta, meta, metaIfNotNull, metas, self
-
Field Details
-
issueId
IssueId issueId -
author
String author -
creationDate
Instant creationDate -
modificationDate
Instant modificationDate -
status
IssueStatus status -
resolution
IssueResolution resolution -
assignee
String assignee -
newSeverity
IssueSeverity newSeverity -
comments
-
metas
-
labels
Labels labels
-
-
Constructor Details
-
Builder
protected Builder()
-
-
Method Details
-
issueId
-
author
-
creationDate
-
modificationDate
-
status
-
resolution
-
assignee
-
newSeverity
-
comment
-
comments
-
meta
Description copied from interface:MetasBuildingAdds a new or replaces an existing (name, value) pair.- Specified by:
metain interfaceMetasBuilding<IssueAnswer.Builder>- Parameters:
name- The meta name.value- The meta value.- Returns:
- This builder.
-
meta
Description copied from interface:MetasBuildingAdds a new or modifies an existing (name, value) pair.If no value is associated to
name, behaves like meta(name, value). Otherwise, modify the value associated tonameby appendingseparatorandvalue.- Specified by:
metain interfaceMetasBuilding<IssueAnswer.Builder>- Parameters:
name- The meta name.value- The meta value.separator- The separator.- Returns:
- This builder.
-
metas
Description copied from interface:MetasBuildingAdds new or replaces existing (name, value) pairs.- Specified by:
metasin interfaceMetasBuilding<IssueAnswer.Builder>- Parameters:
metas- The meta data.- Returns:
- This builder.
-
labels
Description copied from interface:LabelsBuildingSets the labels.- Specified by:
labelsin interfaceLabelsBuilding<IssueAnswer.Builder>- Parameters:
labels- The labels.- Returns:
- This builder.
-
build
-