Aspose.Tasks for C++
Aspose::Tasks::Leveling::LevelingOptions Class Referencefinal

Allows to specify parameters of resource leveling. More...

#include <LevelingOptions.h>

Inherits System::Object.

Public Member Functions

System::Nullable< System::DateTime > get_StartDate () const
 Gets leveling period start date. The default value is the project`s start date. More...
 
void set_StartDate (System::Nullable< System::DateTime > value)
 Sets leveling period start date. The default value is the project`s start date. More...
 
System::Nullable< System::DateTime > get_FinishDate () const
 Gets leveling period end date. The default value is the project`s finish date. More...
 
void set_FinishDate (System::Nullable< System::DateTime > value)
 Sets leveling period end date. The default value is the project`s finish date. More...
 
const System::SharedPtr< System::Collections::Generic::IList< System::SharedPtr< Resource > > > & get_Resources () const
 Gets the list of the resources which will be leveled. If null is set, all project resources will be leveled. More...
 
void set_Resources (const System::SharedPtr< System::Collections::Generic::IList< System::SharedPtr< Resource >>> &value)
 Sets the list of the resources which will be leveled. If null is set, all project resources will be leveled. More...
 
Aspose::Tasks::Leveling::LevelingOrder get_LevelingOrder () const
 Gets the order in which the leveling algorithm delays tasks that have overallocations. After determination of tasks causing the overallocation and which tasks can be delayed, the specified order is used which task should be delayed first. More...
 
void set_LevelingOrder (Aspose::Tasks::Leveling::LevelingOrder value)
 Gets the order in which the leveling algorithm delays tasks that have overallocations. After determination of tasks causing the overallocation and which tasks can be delayed, the specified order is used which task should be delayed first. More...
 
Aspose::Tasks::MessageLevel get_MessageLevel () const
 Gets level of log messages emitted by Aspose.Tasks during resource leveling. More...
 
void set_MessageLevel (Aspose::Tasks::MessageLevel value)
 Sets level of log messages emitted by Aspose.Tasks during resource leveling. More...
 
const System::SharedPtr< IMessageHandler > & get_MessageHandler () const
 Gets message handler callback which can be used to intercept log messages produced by Aspose.Tasks during resource leveling. More...
 
void set_MessageHandler (const System::SharedPtr< IMessageHandler > &value)
 Sets message handler callback which can be used to intercept log messages produced by Aspose.Tasks during resource leveling. More...
 
 LevelingOptions ()
 Initializes a new instance of the LevelingOptions class. More...
 

Detailed Description

Allows to specify parameters of resource leveling.

Constructor & Destructor Documentation

◆ LevelingOptions()

Aspose::Tasks::Leveling::LevelingOptions::LevelingOptions ( )

Initializes a new instance of the LevelingOptions class.

Member Function Documentation

◆ get_FinishDate()

System::Nullable<System::DateTime> Aspose::Tasks::Leveling::LevelingOptions::get_FinishDate ( ) const

Gets leveling period end date. The default value is the project`s finish date.

◆ get_LevelingOrder()

Aspose::Tasks::Leveling::LevelingOrder Aspose::Tasks::Leveling::LevelingOptions::get_LevelingOrder ( ) const

Gets the order in which the leveling algorithm delays tasks that have overallocations. After determination of tasks causing the overallocation and which tasks can be delayed, the specified order is used which task should be delayed first.

◆ get_MessageHandler()

const System::SharedPtr<IMessageHandler>& Aspose::Tasks::Leveling::LevelingOptions::get_MessageHandler ( ) const

Gets message handler callback which can be used to intercept log messages produced by Aspose.Tasks during resource leveling.

◆ get_MessageLevel()

Aspose::Tasks::MessageLevel Aspose::Tasks::Leveling::LevelingOptions::get_MessageLevel ( ) const

Gets level of log messages emitted by Aspose.Tasks during resource leveling.

◆ get_Resources()

const System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<Resource> > >& Aspose::Tasks::Leveling::LevelingOptions::get_Resources ( ) const

Gets the list of the resources which will be leveled. If null is set, all project resources will be leveled.

◆ get_StartDate()

System::Nullable<System::DateTime> Aspose::Tasks::Leveling::LevelingOptions::get_StartDate ( ) const

Gets leveling period start date. The default value is the project`s start date.

◆ set_FinishDate()

void Aspose::Tasks::Leveling::LevelingOptions::set_FinishDate ( System::Nullable< System::DateTime >  value)

Sets leveling period end date. The default value is the project`s finish date.

◆ set_LevelingOrder()

void Aspose::Tasks::Leveling::LevelingOptions::set_LevelingOrder ( Aspose::Tasks::Leveling::LevelingOrder  value)

Gets the order in which the leveling algorithm delays tasks that have overallocations. After determination of tasks causing the overallocation and which tasks can be delayed, the specified order is used which task should be delayed first.

◆ set_MessageHandler()

void Aspose::Tasks::Leveling::LevelingOptions::set_MessageHandler ( const System::SharedPtr< IMessageHandler > &  value)

Sets message handler callback which can be used to intercept log messages produced by Aspose.Tasks during resource leveling.

◆ set_MessageLevel()

void Aspose::Tasks::Leveling::LevelingOptions::set_MessageLevel ( Aspose::Tasks::MessageLevel  value)

Sets level of log messages emitted by Aspose.Tasks during resource leveling.

◆ set_Resources()

void Aspose::Tasks::Leveling::LevelingOptions::set_Resources ( const System::SharedPtr< System::Collections::Generic::IList< System::SharedPtr< Resource >>> &  value)

Sets the list of the resources which will be leveled. If null is set, all project resources will be leveled.

◆ set_StartDate()

void Aspose::Tasks::Leveling::LevelingOptions::set_StartDate ( System::Nullable< System::DateTime >  value)

Sets leveling period start date. The default value is the project`s start date.