public class Baseline extends Object
Modifier and Type | Field and Description |
---|---|
private Integer |
baseline |
private String |
canonicalUrl
The url of the page, or, by default, the indexUrl
|
private Integer |
count
Optional.
|
private List<BaselineHistoryRecord> |
history
The history of the baseline
|
private String |
indexUrl
The url of the list-baselines.action page, omitting the contextPath.
|
private String |
name |
private Integer |
pageCount
Optional.
|
private Long |
pageId
Optional.
|
private String |
pageUrl
Optional.
|
private Integer |
parentBaseline
Baseline number of the baseline that was used to refreeze this one.
|
private FreezeProgress |
progress
Progress of the freeze.
|
private RefreezeProperties |
refreezeProperties
If the baseline is refrozen, and if 'parentBaseline' is filled, then 'refreezeProperties'
contains the properties of the refreeze.
|
private String |
searchQuery
The search query that created this baseline.
|
private String |
searchUrl
The url of the search for requirements of this baseline
|
private String |
spaceKey |
private BaselineStatus |
status
The baseline status.
|
Constructor and Description |
---|
Baseline() |
Baseline(String spaceKey,
Integer version,
BaselineStatus status) |
private Integer baseline
private String spaceKey
private String name
@Nonnull private BaselineStatus status
BaselineStatus.NON_EXISTING
if it's a mock object which doesn't represent
an actual object in the database.private Long pageId
private Integer count
private Integer pageCount
private String pageUrl
private String indexUrl
private String canonicalUrl
private String searchUrl
private List<BaselineHistoryRecord> history
private String searchQuery
private Integer parentBaseline
private RefreezeProperties refreezeProperties
private FreezeProgress progress
public Baseline()
public Baseline(String spaceKey, Integer version, @Nonnull BaselineStatus status)
public static Baseline of(com.playsql.requirementyogi.ao.v60.DBBaseline from)
public static Baseline of(com.playsql.requirementyogi.ao.v60.DBBaseline from, boolean deserializeHistory)
public Integer getBaseline()
public String getSpaceKey()
public String getName()
public Long getPageId()
public Integer getCount()
public Integer getPageCount()
public void setPageUrl(String pageUrl)
public String getPageUrl()
public String getIndexUrl()
public String getCanonicalUrl()
public String getSearchUrl()
public BaselineStatus getStatus()
public Baseline setStatus(BaselineStatus status)
public List<BaselineHistoryRecord> getHistory()
public void setHistory(List<BaselineHistoryRecord> history)
public String getSearchQuery()
public Integer getParentBaseline()
public RefreezeProperties getRefreezeProperties()
public Baseline setRefreezeProperties(RefreezeProperties refreezeProperties)
public FreezeProgress getProgress()
public FreezeProgress getOrInitializeProgress()
public void setProgress(FreezeProgress progress)
public void setSearchUrl(String searchUrl)
public com.playsql.utils.sharedbeans.v9.Baseline toSharedBean()
Copyright © 2022 Requirement Yogi. All rights reserved.