public class


extends Object
implements VersionBuilder
   ↳ com.atlassian.jira.bc.project.version.VersionBuilderImpl

Class Overview

A builder class to specify a new Version to create or an existing Version to update.


Public Constructors
VersionBuilderImpl(Version version)
Public Methods
@Nonnull VersionBuilder archived(boolean archived)
@Nonnull Version build()
@Nonnull VersionBuilder description(String description)
@Nullable String getDescription()
@Nullable String getName()
@Nullable Long getProjectId()
@Nullable Date getReleaseDate()
@Nullable Long getScheduleAfterVersion()
@Nullable Long getSequence()
@Nullable Date getStartDate()
@Nullable Version getVersion()
boolean isArchived()
boolean isReleased()
@Nonnull VersionBuilder name(String name)
@Nonnull VersionBuilder projectId(Long projectId)
@Nonnull VersionBuilder releaseDate(Date releaseDate)
@Nonnull VersionBuilder released(boolean released)
@Nonnull VersionBuilder scheduleAfterVersion(Long scheduleAfterVersion)
@Nonnull VersionBuilder sequence(Long sequence)
@Nonnull VersionBuilder startDate(Date startDate)
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.bc.project.version.VersionBuilder

Public Constructors

public VersionBuilderImpl ()

public VersionBuilderImpl (Version version)

Public Methods

@Nonnull public VersionBuilder archived (boolean archived)

@Nonnull public Version build ()

@Nonnull public VersionBuilder description (String description)

@Nullable public String getDescription ()

@Nullable public String getName ()

@Nullable public Long getProjectId ()

@Nullable public Date getReleaseDate ()

@Nullable public Long getScheduleAfterVersion ()

@Nullable public Long getSequence ()

@Nullable public Date getStartDate ()

@Nullable public Version getVersion ()

public boolean isArchived ()

public boolean isReleased ()

@Nonnull public VersionBuilder name (String name)

@Nonnull public VersionBuilder projectId (Long projectId)

@Nonnull public VersionBuilder releaseDate (Date releaseDate)

@Nonnull public VersionBuilder released (boolean released)

@Nonnull public VersionBuilder scheduleAfterVersion (Long scheduleAfterVersion)

@Nonnull public VersionBuilder sequence (Long sequence)

@Nonnull public VersionBuilder startDate (Date startDate)