ResourceLeveler
Contents
[
Hide
]Inheritance: java.lang.Object
public class ResourceLeveler
Contains resource leveling methods.
Constructors
Constructor | Description |
---|---|
ResourceLeveler() |
Methods
Method | Description |
---|---|
clearLeveling(Project project) | Clears any leveling delay that was previously added to the project during resource leveling. |
clearLeveling(Iterable<Task> tasks) | Clears any leveling delay that was previously added to the specified tasks during resource leveling. |
levelAll(Project project) | Levels tasks for all project’s resources using default leveling options. |
levelResources(Project project, LevelingOptions options) | Levels tasks for the specified resources using the specified leveling options. |
ResourceLeveler()
public ResourceLeveler()
clearLeveling(Project project)
public static void clearLeveling(Project project)
Clears any leveling delay that was previously added to the project during resource leveling.
Parameters:
Parameter | Type | Description |
---|---|---|
project | Project | Project to clear leveling. |
clearLeveling(Iterable<Task> tasks)
public static void clearLeveling(Iterable<Task> tasks)
Clears any leveling delay that was previously added to the specified tasks during resource leveling.
Parameters:
Parameter | Type | Description |
---|---|---|
tasks | java.lang.Iterable<com.aspose.tasks.Task> | The enumerable containing tasks for which leveling delay should be cleared. |
levelAll(Project project)
public static LevelingResult levelAll(Project project)
Levels tasks for all project’s resources using default leveling options.
Parameters:
Parameter | Type | Description |
---|---|---|
project | Project | Project to apply resource leveling. |
Returns: LevelingResult - Object containing results of resource leveling.
levelResources(Project project, LevelingOptions options)
public static LevelingResult levelResources(Project project, LevelingOptions options)
Levels tasks for the specified resources using the specified leveling options.
Parameters:
Parameter | Type | Description |
---|---|---|
project | Project | Project to apply resource leveling. |
options | LevelingOptions | Options which specifies how to level resources. |
Returns: LevelingResult - Object containing results of resource leveling.