public class DefaultBaselineStrategy extends Object implements BaselineStrategy
Modifier and Type | Field and Description |
---|---|
static DefaultBaselineStrategy |
INSTANCE |
Constructor and Description |
---|
DefaultBaselineStrategy() |
Modifier and Type | Method and Description |
---|---|
void |
clearBaseline(ProjectFile project,
int index)
Clear the requested baseline for the supplied project.
|
protected TaskField[] |
getBaselineFields(int index)
Determines the set of baseline fields to populate.
|
protected Object |
getKeyForTask(Task task)
This method is used to generate the key which connect tasks from the
current and baseline schedules.
|
protected TaskField[] |
getSourceFields()
Fields from which values are retrieved in the baseline schedule
before being applied as baseline attributes to the main schedule.
|
void |
populateBaseline(ProjectFile project,
ProjectFile baseline,
int index)
Use the supplied baseline project to set the baselineN cost, duration, finish,
fixed cost accrual, fixed cost, start and work attributes for the tasks
in the supplied project.
|
public static final DefaultBaselineStrategy INSTANCE
public void clearBaseline(ProjectFile project, int index)
BaselineStrategy
clearBaseline
in interface BaselineStrategy
project
- target projectindex
- baseline to populate (0-10)public void populateBaseline(ProjectFile project, ProjectFile baseline, int index)
BaselineStrategy
populateBaseline
in interface BaselineStrategy
project
- target projectbaseline
- baseline projectindex
- baseline to populate (0-10)protected Object getKeyForTask(Task task)
task
- task from which a key is generatedprotected TaskField[] getBaselineFields(int index)
index
- index of the baseline to populate (0-10)protected TaskField[] getSourceFields()
Copyright © 2000–2024 Packwood Software. All rights reserved.