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 theRecurringTaskParameters
class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Constructor Detail
-
RecurringTaskParameters
public RecurringTaskParameters()
Initializes a new instance of the
RecurringTaskParameters
class.
-
-
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.
-
-