Browse our Products

Aspose.Tasks for Java 18.8 Release Notes

Breaking Changes

  • We are going to put our Java port in order to minimize differences from the .NET version of the library. One of that changes is marking non-virtual methods of .NET version, as “final” in Java. In a case when such methods was overridden, compilation errors may appear in customer’s code.

All Changes

KeySummaryCategory
TASKSNET-1720Add an ability to create a new recurring task in MPPNew Feature
TASKSNET-709Support calculation custom fields by rollup optionNew Feature
TASKSNET-2570Extend support for saving HTML resources using MemoryStreamEnhancement
TASKSNET-2599Improve ExtendedAttribute public API for Date, Duration, decimal values.Enhancement
TASKSNET-2584Incorrect constraint type of summary taskBug
TASKSNET-2571End date option not working for some casesBug
TASKSNET-2552The task IsEstimated wasn’t saved in MPP formatBug

Public API and Backwards Incompatible Changes

The following public types were added:Description
com.aspose.tasks.ByMonthDayRepetitionRepresents a pattern which is based on the absolute position of a day in a month.
com.aspose.tasks.ByMonthWeekDayRepetitionRepresents a pattern which is based on the position of a weekday in a month.
com.aspose.tasks.ByYearDayRepetitionRepresents a pattern which is based on the absolute position of a day in a month.
com.aspose.tasks.ByYearWeekDayRepetitionRepresents a pattern which is based on the position of a weekday in a month.
com.aspose.tasks.DailyCalendarRepetitionRepresents a class for repetitions in daily recurrence pattern based on calendar days.
com.aspose.tasks.DailyRecurrencePatternRepresents the set of parameters are used to create a daily recurring task in a project.
com.aspose.tasks.DailyRepetitionBaseRepresents a base class for repetitions in daily recurrence pattern.
com.aspose.tasks.DailyWorkRepetitionRepresents a class for repetitions in daily recurrence pattern based on work days.
com.aspose.tasks.EndAfterRecurrenceRangeRepresents the recurrence range of recurring task which is limited by occurrence number.
com.aspose.tasks.EndByRecurrenceRangeRepresents the recurrence range of recurring task which is limited by finish day.
com.aspose.tasks.MonthlyRecurrencePatternRepresents the set of parameters are used to create a monthly recurring task in a project.
com.aspose.tasks.MonthlyRepetitionBaseRepresents a base pattern for monthly day position.
com.aspose.tasks.RecurrencePatternBaseRepresents the base class of recurrence pattern.
com.aspose.tasks.RecurrenceRangeBaseRepresents the recurrence range of recurring task.
com.aspose.tasks.RecurringTaskParametersRepresents the set of parameters are used to create a recurring task in a project.
com.aspose.tasks.WeeklyRecurrencePatternRepresents the set of parameters are used to create a weekly recurring task in a project.
com.aspose.tasks.WeeklyRepetitionRepresents a pattern which is based on week days.
com.aspose.tasks.WeeklyRepetitionBaseRepresents a base class for repetitions in weekly recurrence pattern.
com.aspose.tasks.YearlyRecurrencePatternRepresents the set of parameters are used to create a yearly recurring task in a project.
com.aspose.tasks.YearlyRepetitionBaseRepresents a base pattern for yearly day position.
The following public methods and properties were added:Description
com.aspose.tasks.ByMonthDayRepetition.#ctorInitializes a new instance of the class.
com.aspose.tasks.ByMonthDayRepetition.getDayPosition
com.aspose.tasks.ByMonthDayRepetition.setDayPosition(int)
Gets or sets a position of a day in a month on which the task must be recurring.
com.aspose.tasks.ByMonthWeekDayRepetition.#ctorInitializes a new instance of the class.
com.aspose.tasks.ByMonthWeekDayRepetition.getWeekDay
com.aspose.tasks.ByMonthWeekDayRepetition.setWeekDay(int)
Gets or sets a type of weekday on which the task must be recurring.
com.aspose.tasks.ByMonthWeekDayRepetition.getPosition
com.aspose.tasks.ByMonthWeekDayRepetition.setPosition(int)
Gets or sets a position of a weekday in a month on which the task must be recurring.
com.aspose.tasks.ByYearDayRepetition.#ctorInitializes a new instance of the class.
com.aspose.tasks.ByYearDayRepetition.getDayPosition
com.aspose.tasks.ByYearDayRepetition.setDayPosition(int)
Gets or sets a position of a day in a month on which the task must be recurring.
com.aspose.tasks.ByYearDayRepetition.getMonth
com.aspose.tasks.ByYearDayRepetition.setMonth(int)
Gets or sets a month on which the task must be recurring.
com.aspose.tasks.ByYearWeekDayRepetition.#ctorInitializes a new instance of the class.
com.aspose.tasks.ByYearWeekDayRepetition.getWeekDay
com.aspose.tasks.ByYearWeekDayRepetition.setWeekDay(int)
Gets or sets a type of week day on which the task must be recurring.
com.aspose.tasks.ByYearWeekDayRepetition.getMonth
com.aspose.tasks.ByYearWeekDayRepetition.setMonth(int)
Gets or sets a month on which the task must be recurring.
com.aspose.tasks.ByYearWeekDayRepetition.getPosition
com.aspose.tasks.ByYearWeekDayRepetition.setPosition(int)
Gets or sets a position of a weekday in a month on which the task must be recurring.
com.aspose.tasks.DailyCalendarRepetition.#ctorInitializes a new instance of the class.
com.aspose.tasks.DailyRecurrencePattern.#ctorInitializes a new instance of the class.
com.aspose.tasks.DailyRecurrencePattern.getRepetition
com.aspose.tasks.DailyRecurrencePattern.setRepetition(com.aspose.tasks.DailyRepetitionBase)
Gets or sets the pattern of repetitions in a daily recurrence pattern.
com.aspose.tasks.DailyRepetitionBase.#ctorInitializes a new instance of the class.
com.aspose.tasks.DailyRepetitionBase.getRepetitionInterval
com.aspose.tasks.DailyRepetitionBase.setRepetitionInterval(int)
Gets or sets a number of days which represents the interval in days between occurrences.
com.aspose.tasks.DailyWorkRepetition.#ctorInitializes a new instance of the class.
com.aspose.tasks.EndAfterRecurrenceRange.#ctorInitializes a new instance of the class.
com.aspose.tasks.EndAfterRecurrenceRange.getOccurrenceNumber
com.aspose.tasks.EndAfterRecurrenceRange.setOccurrenceNumber(int)
Gets or sets the number of occurrences which limits the recurrence range of the recurring task.
com.aspose.tasks.EndByRecurrenceRange.#ctorInitializes a new instance of the class.
com.aspose.tasks.EndByRecurrenceRange.getFinish
com.aspose.tasks.EndByRecurrenceRange.setFinish(java.util.Date)
Gets or sets the date which limits the recurrence range of the recurring task.
com.aspose.tasks.ExtendedAttribute.getDurationValue
com.aspose.tasks.ExtendedAttribute.setDurationValue(com.aspose.tasks.Duration)
Gets or sets a value for attributes with ‘Duration’ type.
com.aspose.tasks.ExtendedAttribute.getNumericValue
com.aspose.tasks.ExtendedAttribute.setNumericValue(java.math.BigDecimal)
Gets or sets a value for attributes with numeric types (Cost, Number).
com.aspose.tasks.ExtendedAttribute.getDateValue
com.aspose.tasks.ExtendedAttribute.setDateValue(java.util.Date)
Gets or sets a value for attributes with date types (Date, Start, Finish).
com.aspose.tasks.ExtendedAttribute.getFlagValue
com.aspose.tasks.ExtendedAttribute.setFlagValue(boolean)
Gets or sets a value indicating whether a flag is set for an attribute with ‘Flag’ type.
com.aspose.tasks.ExtendedAttribute.getTextValue
com.aspose.tasks.ExtendedAttribute.setTextValue(java.lang.String)
Gets or sets value for attributes with ‘Text’ type.
com.aspose.tasks.ExtendedAttributeDefinition.createExtendedAttribute(java.lang.String)Creates a new extended attribute with the field ID which equals to this object’s field ID value and the specified text value.
com.aspose.tasks.ExtendedAttributeDefinition.createExtendedAttribute(java.math.BigDecimal)Creates a new extended attribute with the field ID which equals to this object’s field ID value and the specified numeric value.
com.aspose.tasks.ExtendedAttributeDefinition.createExtendedAttribute(java.util.Date)Creates a new extended attribute with the field ID which equals to this object’s field ID value and the specified date value.
com.aspose.tasks.ExtendedAttributeDefinition.createExtendedAttribute(com.aspose.tasks.Duration)Creates a new extended attribute with the field ID which equals to this object’s field ID value and the specified duration value.
com.aspose.tasks.ExtendedAttributeDefinition.createExtendedAttribute(boolean)Creates a new extended attribute with the field ID which equals to this object’s field ID value and the specified flag value.
com.aspose.tasks.MonthlyRecurrencePattern.#ctorInitializes a new instance of the class.
com.aspose.tasks.MonthlyRecurrencePattern.getRepetition
com.aspose.tasks.MonthlyRecurrencePattern.setRepetition(com.aspose.tasks.MonthlyRepetitionBase)
Gets or sets the recurring repetition pattern.
com.aspose.tasks.MonthlyRepetitionBase.#ctorInitializes a new instance of the class.
com.aspose.tasks.MonthlyRepetitionBase.getRepetitionInterval
com.aspose.tasks.MonthlyRepetitionBase.setRepetitionInterval(int)
Gets or sets a number of days which represents the interval in days between occurrences.
com.aspose.tasks.RecurrencePatternBase.#ctorInitializes a new instance of the class.
com.aspose.tasks.RecurrencePatternBase.getRecurrenceRange
com.aspose.tasks.RecurrencePatternBase.setRecurrenceRange(com.aspose.tasks.RecurrenceRangeBase)
Gets or sets the recurrence range.
com.aspose.tasks.RecurrenceRangeBase.#ctorInitializes a new instance of the class.
com.aspose.tasks.RecurrenceRangeBase.getStart
com.aspose.tasks.RecurrenceRangeBase.setStart(java.util.Date)
Gets or sets the start date of the recurrence range of the recurring task.
com.aspose.tasks.RecurringTaskParameters.#ctorInitializes a new instance of the class.
com.aspose.tasks.RecurringTaskParameters.getDuration
com.aspose.tasks.RecurringTaskParameters.setDuration(com.aspose.tasks.Duration)
Gets or sets the duration for one occurrence of the recurring task.
com.aspose.tasks.RecurringTaskParameters.getIgnoreResourceCalendar
com.aspose.tasks.RecurringTaskParameters.setIgnoreResourceCalendar(boolean)
Gets or sets a value indicating whether to schedule the recurring task even if it does not happen when any resources are available to work on it.
com.aspose.tasks.RecurringTaskParameters.getRecurrencePattern
com.aspose.tasks.RecurringTaskParameters.setRecurrencePattern(com.aspose.tasks.RecurrencePatternBase)
Gets or sets the recurrence pattern of the recurring task.
com.aspose.tasks.RecurringTaskParameters.getTaskName
com.aspose.tasks.RecurringTaskParameters.setTaskName(java.lang.String)
Gets or sets the name of the recurring task.
com.aspose.tasks.RecurringTaskParameters.setCalendar(com.aspose.tasks.Project,java.lang.String)Set a calendar for recurring task. The calendar is selected from project calendar collection.
com.aspose.tasks.TaskCollection.add(com.aspose.tasks.RecurringTaskParameters)Inserts a new task before a task with the specified id and on the same outline level.
com.aspose.tasks.WeeklyRecurrencePattern.#ctorInitializes a new instance of the class.
com.aspose.tasks.WeeklyRecurrencePattern.getRepetition
com.aspose.tasks.WeeklyRecurrencePattern.setRepetition(com.aspose.tasks.WeeklyRepetitionBase)
Gets or sets the recurring repetition pattern.
com.aspose.tasks.WeeklyRepetition.#ctorInitializes a new instance of the class.
com.aspose.tasks.WeeklyRepetition.getWeekDays
com.aspose.tasks.WeeklyRepetition.setWeekDays(int)
Gets or sets a type of weekdays.
com.aspose.tasks.WeeklyRepetitionBase.#ctorInitializes a new instance of the class.
com.aspose.tasks.YearlyRecurrencePattern.#ctorInitializes a new instance of the class.
com.aspose.tasks.YearlyRecurrencePattern.getRepetition
com.aspose.tasks.YearlyRecurrencePattern.setRepetition(com.aspose.tasks.YearlyRepetitionBase)
Gets or sets the recurring position pattern.
com.aspose.tasks.YearlyRepetitionBase.#ctorInitializes a new instance of the class.
The following public enumerations were added:Description
com.aspose.tasks.DayOfWeekRepresents the day of the week.
com.aspose.tasks.PrjKey.GuidRepresents the guid of a project.
The following public methods and properties had been obsolete more than one year and were deleted:Description
com.aspose.tasks.TaskCollection.getCount
com.aspose.tasks.WeekDayCollection.getCount