@PublicApi
public interface BaselineManager
Modifier and Type | Method and Description |
---|---|
Baseline |
createBaseline(long ganttId,
String name,
BaselineType type,
Map<String,Object> params)
Create new baseline for specified gantt
|
Baseline |
getBaseline(long baselineId)
Retrieves a specific baseline by its ID.
|
List<Baseline> |
getBaselines(long ganttId)
Retrieves all baselines associated with a specified Gantt chart.
|
BaselineUpdateBuilder |
getUpdateBuilder(long baselineId)
Creates a builder for updating a specified baseline.
|
void |
removeBaseline(long baselineId)
Deletes the specified baseline.
|
@NotNull List<Baseline> getBaselines(long ganttId) throws GanttBaselineException
ganttId
- the unique identifier of gantt for which it is required to get the list of baselinesGanttBaselineException
- exception if an error occurs@Nullable Baseline getBaseline(long baselineId) throws GanttBaselineException
baselineId
- the ID of the baseline to retrieve.null
if no such baseline exists.GanttBaselineException
- If an error occurs during retrieval.@NotNull Baseline createBaseline(long ganttId, @NotNull String name, @NotNull BaselineType type, @NotNull Map<String,Object> params) throws GanttBaselineException
ganttId
- the unique identifier of the Gantt chart for which the baseline is being createdname
- the name assigned to the new baselinetype
- the type of the baselineparams
- a map of parameters for the new baseline. See available baseline params here BaselineParams
GanttBaselineException
- If an error occurs during the creation process. For example,
if passed parameter is not applicable for the specified type
.BaselineType
,
Baseline
@NotNull BaselineUpdateBuilder getUpdateBuilder(long baselineId)
baselineId
- the identifier of the baseline to be updated.BaselineUpdateBuilder
void removeBaseline(long baselineId) throws GanttBaselineException
baselineId
- the unique identifier of the baseline to be deleted.GanttBaselineException
- exception if an error occursCopyright © 2024 ALMWorks. All Rights Reserved.