Package com.aspose.tasks
Class ResourceLeveler
- java.lang.Object
-
- com.aspose.tasks.ResourceLeveler
-
public class ResourceLeveler extends Object
Contains resource leveling methods.
-
-
Constructor Summary
Constructors Constructor Description ResourceLeveler()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidclearLeveling(Project project)Clears any leveling delay that was previously added to the project during resource leveling.static voidclearLeveling(Iterable<Task> tasks)Clears any leveling delay that was previously added to the specified tasks during resource leveling.static LevelingResultlevelAll(Project project)Levels tasks for all project's resources using default leveling options.static LevelingResultlevelResources(Project project, LevelingOptions options)Levels tasks for the specified resources using the specified leveling options.
-
-
-
Method Detail
-
clearLeveling
public static void clearLeveling(Project project)
Clears any leveling delay that was previously added to the project during resource leveling.
- Parameters:
project- Project to clear leveling.
-
clearLeveling
public static void clearLeveling(Iterable<Task> tasks)
Clears any leveling delay that was previously added to the specified tasks during resource leveling.
- Parameters:
tasks- The enumerable containing tasks for which leveling delay should be cleared.
-
levelAll
public static LevelingResult levelAll(Project project)
Levels tasks for all project's resources using default leveling options.
- Parameters:
project- Project to apply resource leveling.- Returns:
- Object containing results of resource leveling.
-
levelResources
public static LevelingResult levelResources(Project project, LevelingOptions options)
Levels tasks for the specified resources using the specified leveling options.
- Parameters:
project- Project to apply resource leveling.options- Options which specifies how to level resources.- Returns:
- Object containing results of resource leveling.
- Throws:
com.aspose.ms.System.ArgumentNullException- if parameter options is null.
-
-