com.aspose.tasks

Interfaces

Classes

Exceptions

Class RecurringTaskParameters


  • public class RecurringTaskParameters
    extends Object

    Represents the set of parameters are used to create a recurring task in a project.

    • Constructor Detail

      • RecurringTaskParameters

        public RecurringTaskParameters()

        Initializes a new instance of the RecurringTaskParameters class.

    • Method Detail

      • setDuration

        public final void setDuration​(Duration value)
        Sets the duration for one occurrence of the recurring task.
        Parameters:
        value - The instance of Duration(getDuration()/setDuration(Duration)) class.
      • getIgnoreResourceCalendar

        public final boolean getIgnoreResourceCalendar()

        Gets a value indicating whether to schedule the recurring task even if it does not happen when any resources are available to work on it.

        Returns:
        a value indicating whether to schedule the recurring task even if it does not happen when any resources are available to work on it.
      • setIgnoreResourceCalendar

        public final void setIgnoreResourceCalendar​(boolean value)

        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.

        Parameters:
        value - a value indicating whether to schedule the recurring task even if it does not happen when any resources are available to work on it.
      • getTaskName

        public final String getTaskName()

        Gets the name of the recurring task.

        Returns:
        the name of the recurring task.
      • setTaskName

        public final void setTaskName​(String value)

        Sets the name of the recurring task.

        Parameters:
        value - the name of the recurring task.
      • setCalendar

        public final void setCalendar​(Project project,
                                      String calendarName)

        Set a calendar for recurring task. The calendar is selected from project calendar collection.

        Parameters:
        project - The project with calendar collection.
        calendarName - The name of calendar.