Class ResourceLeveler


  • public class ResourceLeveler
    extends Object

    Contains resource leveling methods.

    • Constructor Detail

      • ResourceLeveler

        public ResourceLeveler()
    • 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.