ResourceLeveler

Inheritance: java.lang.Object

public class ResourceLeveler

Contains resource leveling methods.

Constructors

ConstructorDescription
ResourceLeveler()

Methods

MethodDescription
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:

ParameterTypeDescription
projectProjectProject 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:

ParameterTypeDescription
tasksjava.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:

ParameterTypeDescription
projectProjectProject 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:

ParameterTypeDescription
projectProjectProject to apply resource leveling.
optionsLevelingOptionsOptions which specifies how to level resources.

Returns: LevelingResult - Object containing results of resource leveling.