Aspose.Tasks for C++
Aspose::Tasks::RecurringTaskParameters Class Reference

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

#include <RecurringTaskParameters.h>

Inherits System::Object.

Public Member Functions

Aspose::Tasks::Duration get_Duration () const
 Gets the duration for one occurrence of the recurring task. More...
 
void set_Duration (Aspose::Tasks::Duration value)
 Sets the duration for one occurrence of the recurring task. More...
 
bool get_IgnoreResourceCalendar () const
 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. More...
 
void set_IgnoreResourceCalendar (bool 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. More...
 
const System::SharedPtr< RecurrencePatternBase > & get_RecurrencePattern () const
 Gets the recurrence pattern of the recurring task. More...
 
void set_RecurrencePattern (const System::SharedPtr< RecurrencePatternBase > &value)
 Sets the recurrence pattern of the recurring task. More...
 
System::String get_TaskName () const
 Gets the name of the recurring task. More...
 
void set_TaskName (const System::String &value)
 Sets the name of the recurring task. More...
 
 RecurringTaskParameters ()
 Initializes a new instance of the RecurringTaskParameters class. More...
 
void SetCalendar (const System::SharedPtr< Project > &project, const System::String &calendarName)
 Set a calendar for recurring task. The calendar is selected from project calendar collection. More...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ RecurringTaskParameters()

Aspose::Tasks::RecurringTaskParameters::RecurringTaskParameters ( )

Initializes a new instance of the RecurringTaskParameters class.

Member Function Documentation

◆ get_Duration()

Aspose::Tasks::Duration Aspose::Tasks::RecurringTaskParameters::get_Duration ( ) const

Gets the duration for one occurrence of the recurring task.

The instance of Duration class.

◆ get_IgnoreResourceCalendar()

bool Aspose::Tasks::RecurringTaskParameters::get_IgnoreResourceCalendar ( ) const

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.

◆ get_RecurrencePattern()

const System::SharedPtr<RecurrencePatternBase>& Aspose::Tasks::RecurringTaskParameters::get_RecurrencePattern ( ) const

Gets the recurrence pattern of the recurring task.

Can be one of the values of RecurrencePattern enumeration.

◆ get_TaskName()

System::String Aspose::Tasks::RecurringTaskParameters::get_TaskName ( ) const

Gets the name of the recurring task.

◆ set_Duration()

void Aspose::Tasks::RecurringTaskParameters::set_Duration ( Aspose::Tasks::Duration  value)

Sets the duration for one occurrence of the recurring task.

The instance of Duration class.

◆ set_IgnoreResourceCalendar()

void Aspose::Tasks::RecurringTaskParameters::set_IgnoreResourceCalendar ( bool  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.

◆ set_RecurrencePattern()

void Aspose::Tasks::RecurringTaskParameters::set_RecurrencePattern ( const System::SharedPtr< RecurrencePatternBase > &  value)

Sets the recurrence pattern of the recurring task.

Can be one of the values of RecurrencePattern enumeration.

◆ set_TaskName()

void Aspose::Tasks::RecurringTaskParameters::set_TaskName ( const System::String &  value)

Sets the name of the recurring task.

◆ SetCalendar()

void Aspose::Tasks::RecurringTaskParameters::SetCalendar ( const System::SharedPtr< Project > &  project,
const System::String &  calendarName 
)

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

Parameters
projectThe project with calendar collection.
calendarNameThe name of calendar.