public class RecurringTaskParameters extends Object
Represents the set of parameters are used to create a recurring task in a project.
Constructor and Description |
---|
RecurringTaskParameters()
Initializes a new instance of the
RecurringTaskParameters class. |
Modifier and Type | Method and Description |
---|---|
Duration |
getDuration()
Gets the duration for one occurrence of the recurring task.
|
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.
|
RecurrencePatternBase |
getRecurrencePattern()
Gets the recurrence pattern of the recurring task.
|
String |
getTaskName()
Gets the name of the recurring task.
|
void |
setCalendar(Project project,
String calendarName)
Set a calendar for recurring task.
|
void |
setDuration(Duration value)
Sets the duration for one occurrence of the recurring task.
|
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.
|
void |
setRecurrencePattern(RecurrencePatternBase value)
Sets the recurrence pattern of the recurring task.
|
void |
setTaskName(String value)
Sets the name of the recurring task.
|
public RecurringTaskParameters()
Initializes a new instance of the RecurringTaskParameters
class.
public final Duration getDuration()
Duration
(getDuration()
/setDuration(Duration)
) class.public final void setDuration(Duration value)
value
- The instance of Duration
(getDuration()
/setDuration(Duration)
) class.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.
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.
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.public final RecurrencePatternBase getRecurrencePattern()
Gets the recurrence pattern of the recurring task.
RecurrencePattern
(getRecurrencePattern()
/setRecurrencePattern(RecurrencePatternBase)
) enumeration.public final void setRecurrencePattern(RecurrencePatternBase value)
Sets the recurrence pattern of the recurring task.
RecurrencePattern
(getRecurrencePattern()
/setRecurrencePattern(RecurrencePatternBase)
) enumeration.value
- the recurrence pattern of the recurring task.public final String getTaskName()
Gets the name of the recurring task.
public final void setTaskName(String value)
Sets the name of the recurring task.
value
- the name of the recurring task.