Browse our Products

Aspose.Tasks for Java 22.7 Release Notes

All Changes

KeySummaryIssue Type
TASKSNET-10556Add IsRoot property to Resource objectEnhancement
TASKSNET-10553Add properties to access ResourceAssignment’s Task and ResourceEnhancement
TASKSNET-10469Add support of reading of User Defined Types for Primavera P6 XML formatEnhancement
TASKSNET-10554Fix incorrect calculation of Asn.Finish for assignments with Asn.Units not equal 1Bug
TASKSNET-10552Fix NullReference exception when reading/writing file with absent “TBknAssn.Props” streamBug
TASKSNET-10569Fix resource rate’s RateTo property is set incorrectly when reading project from Primavera P6 XML formatBug

Public API and Backwards Incompatible Changes

The following public methods and properties were added:Description
com.aspose.tasks.OutlineCode.#ctor(com.aspose.tasks.OutlineCodeDefinition,com.aspose.tasks.OutlineValue)Initializes a new instance of the class using the specified Outline Code and one of its values.
com.aspose.tasks.Resource.IsRootGets the flag indicating whether resource is a root resource.
com.aspose.tasks.ResourceAssignment.TaskThe task to which a resource is assigned.
com.aspose.tasks.ResourceAssignment.ResourceThe resource assigned to a task.

Examples and additional notes

Related issue: TASKSNET-10553 - Add properties to access ResourceAssignment’s Task and Resource

Task and Resource read-only properties were added for more convenient access to frequently used properties.

Project project = new Project("test.mpp");
ResourceAssignment assignment = project.getResourceAssignments().getByUid(1);

// Before:
String taskName = assignment.get(Asn.TASK).get(Tsk.NAME);
// After:
taskName = assignment.getTask().get(Tsk.NAME);