Package com.aspose.tasks
Class RecurringTaskParameters
- java.lang.Object
-
- com.aspose.tasks.RecurringTaskParameters
-
public class RecurringTaskParameters extends Object
Represents the set of parameters are used to create a recurring task in a project.
-
-
Constructor Summary
Constructors Constructor Description RecurringTaskParameters()Initializes a new instance of theRecurringTaskParametersclass.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DurationgetDuration()Gets the duration for one occurrence of the recurring task.booleangetIgnoreResourceCalendar()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.RecurrencePatternBasegetRecurrencePattern()Gets the recurrence pattern of the recurring task.StringgetTaskName()Gets the name of the recurring task.voidsetCalendar(Project project, String calendarName)Set a calendar for recurring task.voidsetDuration(Duration value)Sets the duration for one occurrence of the recurring task.voidsetIgnoreResourceCalendar(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.voidsetRecurrencePattern(RecurrencePatternBase value)Sets the recurrence pattern of the recurring task.voidsetTaskName(String value)Sets the name of the recurring task.
-
-
-
Constructor Detail
-
RecurringTaskParameters
public RecurringTaskParameters()
Initializes a new instance of the
RecurringTaskParametersclass.
-
-
Method Detail
-
getDuration
public final Duration getDuration()
Gets the duration for one occurrence of the recurring task.- Returns:
- The instance of
Duration(getDuration()/setDuration(Duration)) class.
-
setDuration
public final void setDuration(Duration value)
Sets the duration for one occurrence of the recurring task.- Parameters:
value- The instance ofDuration(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.
-
getRecurrencePattern
public final RecurrencePatternBase getRecurrencePattern()
Gets the recurrence pattern of the recurring task.
Can be one of the values ofRecurrencePattern(getRecurrencePattern()/setRecurrencePattern(RecurrencePatternBase)) enumeration.- Returns:
- the recurrence pattern of the recurring task.
-
setRecurrencePattern
public final void setRecurrencePattern(RecurrencePatternBase value)
Sets the recurrence pattern of the recurring task.
Can be one of the values ofRecurrencePattern(getRecurrencePattern()/setRecurrencePattern(RecurrencePatternBase)) enumeration.- Parameters:
value- the recurrence pattern of the recurring task.
-
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.
-
-