public class VersionBuilderImpl extends Object implements VersionBuilder
Constructor and Description |
---|
VersionBuilderImpl() |
VersionBuilderImpl(Version version) |
Modifier and Type | Method and Description |
---|---|
VersionBuilder |
archived(boolean archived) |
Version |
build() |
VersionBuilder |
description(String description) |
String |
getDescription() |
String |
getName() |
Long |
getProjectId() |
Date |
getReleaseDate() |
Long |
getScheduleAfterVersion() |
Long |
getSequence() |
Date |
getStartDate() |
Version |
getVersion() |
boolean |
isArchived() |
boolean |
isReleased() |
VersionBuilder |
name(String name) |
VersionBuilder |
projectId(Long projectId) |
VersionBuilder |
released(boolean released) |
VersionBuilder |
releaseDate(Date releaseDate) |
VersionBuilder |
scheduleAfterVersion(Long scheduleAfterVersion) |
VersionBuilder |
sequence(Long sequence) |
VersionBuilder |
startDate(Date startDate) |
public VersionBuilderImpl()
public VersionBuilderImpl(Version version)
@Nonnull public VersionBuilder projectId(@Nonnull Long projectId)
projectId
in interface VersionBuilder
@Nonnull public VersionBuilder name(@Nonnull String name)
name
in interface VersionBuilder
@Nonnull public VersionBuilder description(@Nullable String description)
description
in interface VersionBuilder
@Nonnull public VersionBuilder startDate(@Nullable Date startDate)
startDate
in interface VersionBuilder
@Nonnull public VersionBuilder releaseDate(@Nullable Date releaseDate)
releaseDate
in interface VersionBuilder
@Nonnull public VersionBuilder scheduleAfterVersion(@Nonnull Long scheduleAfterVersion)
scheduleAfterVersion
in interface VersionBuilder
@Nonnull public VersionBuilder released(boolean released)
released
in interface VersionBuilder
public boolean isReleased()
public boolean isArchived()
@Nonnull public VersionBuilder sequence(@Nonnull Long sequence)
sequence
in interface VersionBuilder
@Nonnull public Version build()
build
in interface VersionBuilder
@Nonnull public VersionBuilder archived(boolean archived)
archived
in interface VersionBuilder
Copyright © 2002-2021 Atlassian. All Rights Reserved.