com.almworks.jira.structure.api.memo.MemoUpdateBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of structure-api Show documentation
Show all versions of structure-api Show documentation
Public API for the Structure Plugin for JIRA
The newest version!
package com.almworks.jira.structure.api.memo;
import com.almworks.jira.structure.api.error.StructureException;
import com.atlassian.annotations.PublicApi;
import com.atlassian.jira.user.ApplicationUser;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.time.LocalDate;
@PublicApi
public interface MemoUpdateBuilder {
@NotNull
MemoUpdateBuilder setSummary(@Nullable String summary);
@NotNull
MemoUpdateBuilder setDescription(@Nullable String description);
@NotNull
MemoUpdateBuilder setAssignee(@Nullable ApplicationUser user);
@NotNull
MemoUpdateBuilder setDueDate(@Nullable LocalDate date);
@NotNull
MemoUpdateBuilder setOriginalEstimate(@Nullable Long milliseconds);
@NotNull
MemoUpdateBuilder setRemainingEstimate(@Nullable Long milliseconds);
@NotNull
MemoUpdateBuilder setTimeSpent(@Nullable Long milliseconds);
void update() throws StructureException;
}