Constructor and Description |
---|
Task()
Default constructor.
|
Task(String name)
Creates task.
|
Task(String name,
List<Task> children) |
Task(String name,
long duration) |
Task(String name,
Task[] children)
Creates task with the list of children.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canLevelingSplit()
Determines whether a leveling can split a task.
|
void |
canLevelingSplit(boolean value) |
Object |
deepClone()
Creates full copy of a task without subtasks.
|
void |
delete()
Deletes task from parent project tasks collection and all its assignments.
|
boolean |
equals(Object o)
Returns a value indicating whether this instance is equal to a specified object.
|
BigDecimal |
getActualCost() |
long |
getActualDuration() |
Date |
getActualFinish() |
BigDecimal |
getActualOvertimeCost() |
long |
getActualOvertimeWork() |
long |
getActualOvertimeWorkProtected() |
Date |
getActualStart() |
long |
getActualWork() |
long |
getActualWorkProtected() |
double |
getAcwp()
The actual cost of a work performed on the task to-date.
|
List<TaskBaseline> |
getBaseline() |
double |
getBcwp()
The budgeted cost of a work performed on a task to-date.
|
double |
getBcws()
The budgeted cost of a work scheduled for a task.
|
BigDecimal |
getBudgetCost() |
long |
getBudgetWork() |
Calendar |
getCalendar()
The task calendar.
|
List<Task> |
getChildren() |
Date |
getCommitmentFinish() |
Date |
getCommitmentStart() |
int |
getCommitmentType()
Determines whether a task has an associated delivery or
a dependency on an associated delivery.
|
Date |
getConstraintDate() |
int |
getConstraintType()
The constraint on the start or finish date of a task.
|
String |
getContact()
The contact person for a task.
|
BigDecimal |
getCost() |
double |
getCostVariance()
The difference between the baseline cost and total cost for a task.
|
Date |
getCreateDate() |
double |
getCv()
The earned value cost variance.
|
Date |
getDeadline() |
boolean |
getDisplayAsSummary()
Defines whether the task should be displayed as a summary task.
|
long |
getDuration() |
double |
getDuration(int formatType)
Returns task duration in specified format.
|
int |
getDurationFormat()
The format of expressing the duration of a task.
|
Date |
getEarlyFinish() |
Date |
getEarlyStart() |
int |
getEarnedValueMethod()
The method of calculating earned value.
|
List<ExtendedAttribute> |
getExtendedAttribute() |
int |
getExternalId()
If the task is an external task it contains the task's external ID.
|
String |
getExternalTaskProject()
The source location and task identifier of an external task.
|
Date |
getFinish() |
int |
getFinishSlack()
Returns the task's finish slack.
|
String |
getFinishText()
Returns the task's finish text.
|
int |
getFinishVariance()
The variance of the task finish date from the baseline finish date as minutes.
|
double |
getFixedCost()
The fixed cost of a task.
|
int |
getFixedCostAccrual()
Determines how the fixed cost is accrued against a task.
|
int |
getFreeSlack()
The amount of a free slack.
|
int |
getFreeSlak()
Deprecated.
|
String |
getGUID()
Task's GUID.
|
boolean |
getHideBar()
Determines whether the GANTT bar of a task is hidden when displayed in Microsoft Project.
|
String |
getHyperlink()
The title of a hyperlink associated with a task.
|
String |
getHyperlinkAddress()
The hyperlink associated with a task.
|
String |
getHyperlinkSubAddress()
The document bookmark of the hyperlink associated with a task.
|
int |
getId()
The position identifier of a task within the list of tasks.
|
boolean |
getIgnoreResourceCalendar()
Determines whether a task ignores the resource calendar.
|
boolean |
getIgnoreWarnings()
Shows whether to hide the schedule conflict warning indicator or not.
|
Date |
getLateFinish() |
Date |
getLateStart() |
int |
getLevelingDelay()
The delay caused by leveling a task.
|
int |
getLevelingDelayFromat()
The format of expressing the duration of a delay.
|
long |
getManualDuration() |
Date |
getManualFinish() |
Date |
getManualStart() |
String |
getName()
The name of a task.
|
String |
getNotes()
Deprecated.
|
String |
getNotesRTF()
The text notes in RTF format.
|
String |
getNotesText()
Notes' plain text extracted from RTF data.
|
List<OutlineCode> |
getOutlineCode() |
int |
getOutlineLevel()
The outline level of a task.
|
String |
getOutlineNumber()
The outline number of a task.
|
BigDecimal |
getOvertimeCost() |
long |
getOvertimeWork() |
Project |
getParentProject()
The parent project of a task.
|
Task |
getParentTask()
The parent task of a task.
|
int |
getPercentComplete()
The percentage of the task duration completed.
|
int |
getPercentWorkComplete()
The percentage of a task work completed.
|
int |
getPhysicalPercentComplete()
The percentage complete value entered by the Project Manager.
|
Date |
getPreLeveledFinish() |
Date |
getPreLeveledStart() |
int |
getPriority()
The priority of a task from 0 to 1000.
|
long |
getRegularWork() |
BigDecimal |
getRemainingCost() |
long |
getRemainingDuration() |
BigDecimal |
getRemainingOvertimeCost() |
long |
getRemainingOvertimeWork() |
long |
getRemainingWork() |
Date |
getResume() |
SplitPartCollection |
getSplitParts()
Returns a SplitPart collection that represents the portions of a task.
|
Date |
getStart() |
int |
getStartSlack()
Returns the task's start slack.
|
String |
getStartText()
Returns the task's start text.
|
int |
getStartVariance()
The variance of the task start date from the baseline start date as minutes.
|
String |
getStatusManager()
The name of a task status manager.
|
Date |
getStop() |
String |
getSubprojectName()
The source location of a subproject.
|
List<TimephasedData> |
getTimephasedData() |
int |
getTotalSlack()
The amount of a total slack.
|
int |
getTotalSlak()
Deprecated.
|
int |
getType()
The type of a task.
|
int |
getUid()
The unique Id of a task.
|
String |
getWbs()
The work breakdown structure code of a task.
|
String |
getWbsLevel()
The rightmost WBS level of a task.
|
long |
getWork() |
double |
getWorkVariance()
The variance of the task work from the baseline task work as minutes.
|
boolean |
isActive()
Determines if the task is active.
|
void |
isActive(boolean value) |
boolean |
isCritical()
Determines whether a task is in the critical chain.
|
void |
isCritical(boolean value) |
boolean |
isEffortDriven()
Determines whether a task is effort-driven.
|
void |
isEffortDriven(boolean value) |
boolean |
isEstimated()
Determines whether a task is estimated.
|
void |
isEstimated(boolean value) |
boolean |
isExpanded()
Determines whether a summary task is expanded or not.
|
void |
isExpanded(boolean value) |
boolean |
isExternalTask()
Determines whether a task is external.
|
boolean |
isLevelAssignments()
Determines whether a leveling can adjust assignments.
|
void |
isLevelAssignments(boolean value) |
boolean |
isManual()
Determines whether a task is manually scheduled.
|
void |
isManual(boolean value) |
boolean |
isMarked()
Shows whether a task is marked for further action or identification of some kind.
|
void |
isMarked(boolean value) |
boolean |
isMilestone()
Determines whether a task is a milestone.
|
void |
isMilestone(boolean value) |
boolean |
isNull()
Dtermines whether a task is null.
|
void |
isNull(boolean value) |
boolean |
isOverAllocated()
Determines whether a task is overallocated.
|
void |
isOverAllocated(boolean value) |
boolean |
isPublished()
Determines whether a task is published.
|
void |
isPublished(boolean value) |
boolean |
isRecurring()
Determines whether a task is a recurring task.
|
void |
isRecurring(boolean value) |
boolean |
isResumeValid()
Determines whether a task can be resumed.
|
void |
isResumeValid(boolean value) |
boolean |
isRollup()
Determines whether a task is rolled up.
|
void |
isRollup(boolean value) |
boolean |
isSubproject()
Determines whether a task is an inserted project.
|
boolean |
isSubprojectReadOnly()
Determines whether a subproject is read-only.
|
void |
isSubprojectReadOnly(boolean value) |
boolean |
isSummary()
Determines whether a task is a summary task.
|
void |
outlineIndent()
Indents a task in the outline.
|
void |
outlineOutdent()
Promotes a task in the outline.
|
static void |
recalculate(Task task)
Recalculates task start/finish dates according to task duration.
|
void |
setActualCost(BigDecimal value) |
void |
setActualDuration(long value) |
void |
setActualFinish(Date value) |
void |
setActualOvertimeCost(BigDecimal value) |
void |
setActualOvertimeWork(long value) |
void |
setActualOvertimeWorkProtected(long value) |
void |
setActualStart(Date value) |
void |
setActualWork(long value) |
void |
setActualWorkProtected(long value) |
void |
setAcwp(double value) |
void |
setBaseline(List<TaskBaseline> value) |
void |
setBcwp(double value) |
void |
setBcws(double value) |
void |
setCalendar(Calendar value) |
void |
setChildren(List<Task> value) |
void |
setCommitmentFinish(Date value) |
void |
setCommitmentStart(Date value) |
void |
setCommitmentType(int value) |
void |
setConstraintDate(Date value) |
void |
setConstraintType(int value) |
void |
setContact(String value) |
void |
setCost(BigDecimal value) |
void |
setCostVariance(double value) |
void |
setCreateDate(Date value) |
void |
setCv(double value) |
void |
setDeadline(Date value) |
void |
setDisplayAsSummary(boolean value) |
void |
setDuration(long value) |
void |
setDurationFormat(int value) |
void |
setEarlyFinish(Date value) |
void |
setEarlyStart(Date value) |
void |
setEarnedValueMethod(int value) |
void |
setExtendedAttribute(List<ExtendedAttribute> value) |
void |
setExternalId(int value) |
void |
setExternalTaskProject(String value) |
void |
setFinish(Date value) |
void |
setFinishSlack(int value) |
void |
setFinishText(String value) |
void |
setFinishVariance(int value) |
void |
setFixedCost(double value) |
void |
setFixedCostAccrual(int value) |
void |
setFreeSlack(int value) |
void |
setFreeSlak(int value)
Deprecated.
|
void |
setGUID(String value) |
void |
setHideBar(boolean value) |
void |
setHyperlink(String value) |
void |
setHyperlinkAddress(String value) |
void |
setHyperlinkSubAddress(String value) |
void |
setId(int value) |
void |
setIgnoreResourceCalendar(boolean value) |
void |
setIgnoreWarnings(boolean value) |
void |
setLateFinish(Date value) |
void |
setLateStart(Date value) |
void |
setLevelingDelay(int value) |
void |
setLevelingDelayFromat(int value) |
void |
setManualDuration(long value) |
void |
setManualFinish(Date value) |
void |
setManualStart(Date value) |
void |
setName(String value) |
void |
setNotes(String value)
Deprecated.
|
void |
setNotesText(String value) |
void |
setOutlineCode(List<OutlineCode> value) |
void |
setOutlineLevel(int value) |
void |
setOutlineNumber(String value) |
void |
setOvertimeCost(BigDecimal value) |
void |
setOvertimeWork(long value) |
void |
setParentProject(Project value) |
void |
setParentTask(Task value) |
void |
setPercentComplete_(int percent)
Sets PercentComplete Property of task instance and makes necessary recalculations of ResourceAssignments if there are any.
|
void |
setPercentComplete(int value) |
static void |
setPercentComplete(Task task,
int percent)
Sets PercentComplete Property of task and makes necessary recalculations of ResourceAssignments if there are any.
|
void |
setPercentWorkComplete(int value) |
void |
setPhysicalPercentComplete(int value) |
void |
setPreLeveledFinish(Date value) |
void |
setPreLeveledStart(Date value) |
void |
setPriority(int value) |
void |
setRegularWork(long value) |
void |
setRemainingCost(BigDecimal value) |
void |
setRemainingDuration(long value) |
void |
setRemainingOvertimeCost(BigDecimal value) |
void |
setRemainingOvertimeWork(long value) |
void |
setRemainingWork(long value) |
void |
setResume(Date value) |
void |
setStart(Date value) |
void |
setStartSlack(int value) |
void |
setStartText(String value) |
void |
setStartVariance(int value) |
void |
setStatusManager(String value) |
void |
setStop(Date value) |
void |
setSubprojectName(String value) |
void |
setTimephasedData(List<TimephasedData> value) |
void |
setTotalSlack(int value) |
void |
setTotalSlak(int value)
Deprecated.
|
void |
setType(int value) |
void |
setUid(int value) |
void |
setWbs(String value) |
void |
setWbsLevel(String value) |
void |
setWork(long value) |
void |
setWorkVariance(double value) |
List<TimephasedData> |
timeScaleData(Date start,
Date end) |
List<TimephasedData> |
timeScaleData(Date start,
Date end,
int timephasedType) |
public Task(String name, Task[] children)
Creates task with the list of children.
name
- Name of the task.children
- List of children.public Task()
Default constructor.
public Task(String name)
Creates task.
name
- Name of the task.public Task(String name, long duration)
public Project getParentProject()
The parent project of a task.
Read/write Project
.
public void setParentProject(Project value)
public List<OutlineCode> getOutlineCode()
public void setOutlineCode(List<OutlineCode> value)
public Task getParentTask()
The parent task of a task.
Read/write Task
.
public void setParentTask(Task value)
public int getType()
The type of a task.
Read/write TaskType
.
public void setType(int value)
public boolean isNull()
Dtermines whether a task is null.
Read/write bool
.
public void isNull(boolean value)
public Date getCreateDate()
public void setCreateDate(Date value)
public String getContact()
The contact person for a task.
Read/write string
.
public void setContact(String value)
public String getWbs()
The work breakdown structure code of a task.
Read/write string
.
public void setWbs(String value)
public String getWbsLevel()
The rightmost WBS level of a task.
Read/write string
.
public void setWbsLevel(String value)
public int getPriority()
The priority of a task from 0 to 1000.
Read/write int
.
public void setPriority(int value)
public Date getFinish()
public void setFinish(Date value)
public long getWork()
public void setWork(long value)
public Date getStop()
public void setStop(Date value)
public Date getResume()
public void setResume(Date value)
public boolean isResumeValid()
Determines whether a task can be resumed.
Read/write bool
.
public void isResumeValid(boolean value)
public boolean isEffortDriven()
Determines whether a task is effort-driven.
Read/write bool
.
public void isEffortDriven(boolean value)
public boolean isRecurring()
Determines whether a task is a recurring task.
Read/write bool
.
public void isRecurring(boolean value)
public boolean isOverAllocated()
Determines whether a task is overallocated. This element is informational only.
Read/write bool
.
public void isOverAllocated(boolean value)
public boolean isEstimated()
Determines whether a task is estimated.
Read/write bool
.
public void isEstimated(boolean value)
public boolean isMarked()
Shows whether a task is marked for further action or identification of some kind.
public void isMarked(boolean value)
public boolean isMilestone()
Determines whether a task is a milestone.
Read/write bool
.
public void isMilestone(boolean value)
public boolean isCritical()
Determines whether a task is in the critical chain.
Read/write bool
.
public void isCritical(boolean value)
public boolean isSubproject()
Determines whether a task is an inserted project.
Read/write bool
.
public boolean isSubprojectReadOnly()
Determines whether a subproject is read-only.
Read/write bool
.
public void isSubprojectReadOnly(boolean value)
public boolean getIgnoreWarnings()
Shows whether to hide the schedule conflict warning indicator or not.
public void setIgnoreWarnings(boolean value)
public String getSubprojectName()
The source location of a subproject.
Read/write string
.
public void setSubprojectName(String value)
public boolean isExternalTask()
Determines whether a task is external.
Read/write bool
.
public String getExternalTaskProject()
The source location and task identifier of an external task.
Read/write string
.
public void setExternalTaskProject(String value)
public Date getEarlyStart()
public void setEarlyStart(Date value)
public Date getEarlyFinish()
public void setEarlyFinish(Date value)
public Date getLateStart()
public void setLateStart(Date value)
public Date getLateFinish()
public void setLateFinish(Date value)
public int getStartVariance()
The variance of the task start date from the baseline start date as minutes.
Read/write int
.
public void setStartVariance(int value)
public int getFinishVariance()
The variance of the task finish date from the baseline finish date as minutes.
Read/write int
.
public void setFinishVariance(int value)
public double getWorkVariance()
The variance of the task work from the baseline task work as minutes.
Read/write double
.
public void setWorkVariance(double value)
public double getCostVariance()
The difference between the baseline cost and total cost for a task.
public void setCostVariance(double value)
@Deprecated public int getFreeSlak()
The amount of a free slack.
Read/write int
.
@Deprecated public void setFreeSlak(int value)
public int getFreeSlack()
The amount of a free slack.
Read/write int
.
public void setFreeSlack(int value)
@Deprecated public int getTotalSlak()
The amount of a total slack.
Read/write int
.
@Deprecated public void setTotalSlak(int value)
public int getTotalSlack()
The amount of a total slack.
Read/write int
.
public void setTotalSlack(int value)
public double getFixedCost()
The fixed cost of a task.
Read/write double
.
public void setFixedCost(double value)
public int getFixedCostAccrual()
Determines how the fixed cost is accrued against a task.
Read/write CostAccrualType
.
public void setFixedCostAccrual(int value)
public int getPercentWorkComplete()
The percentage of a task work completed.
Read/write int
.
public void setPercentWorkComplete(int value)
public BigDecimal getCost()
public void setCost(BigDecimal value)
public BigDecimal getOvertimeCost()
public void setOvertimeCost(BigDecimal value)
public long getOvertimeWork()
public void setOvertimeWork(long value)
public Date getActualStart()
public void setActualStart(Date value)
public Date getActualFinish()
public void setActualFinish(Date value)
public long getActualDuration()
public void setActualDuration(long value)
public BigDecimal getActualCost()
public void setActualCost(BigDecimal value)
public long getActualOvertimeWork()
public void setActualOvertimeWork(long value)
public long getRegularWork()
public void setRegularWork(long value)
public long getRemainingDuration()
public void setRemainingDuration(long value)
public BigDecimal getRemainingCost()
public void setRemainingCost(BigDecimal value)
public long getRemainingWork()
public void setRemainingWork(long value)
public BigDecimal getRemainingOvertimeCost()
public void setRemainingOvertimeCost(BigDecimal value)
public long getRemainingOvertimeWork()
public void setRemainingOvertimeWork(long value)
public double getAcwp()
The actual cost of a work performed on the task to-date.
Read/write double
.
public void setAcwp(double value)
public double getCv()
The earned value cost variance.
Read/write double
.
public void setCv(double value)
public int getConstraintType()
The constraint on the start or finish date of a task.
Read/write Aspose.Tasks.ConstraintType
.
public void setConstraintType(int value)
public Calendar getCalendar()
The task calendar.
Read/write Aspose.Tasks.Calendar
.
public void setCalendar(Calendar value)
public Date getConstraintDate()
public void setConstraintDate(Date value)
public Date getDeadline()
public void setDeadline(Date value)
public boolean isLevelAssignments()
Determines whether a leveling can adjust assignments.
Read/write bool
.
public void isLevelAssignments(boolean value)
public boolean canLevelingSplit()
Determines whether a leveling can split a task.
Read/write bool
.
public void canLevelingSplit(boolean value)
public int getLevelingDelay()
The delay caused by leveling a task.
Read/write int
.
public void setLevelingDelay(int value)
public Date getPreLeveledStart()
public void setPreLeveledStart(Date value)
public Date getPreLeveledFinish()
public void setPreLeveledFinish(Date value)
public String getHyperlink()
The title of a hyperlink associated with a task.
Read/write string
.
public void setHyperlink(String value)
public String getHyperlinkAddress()
The hyperlink associated with a task.
Read/write string
.
public void setHyperlinkAddress(String value)
public String getHyperlinkSubAddress()
The document bookmark of the hyperlink associated with a task.
Read/write string
.
public void setHyperlinkSubAddress(String value)
public boolean getIgnoreResourceCalendar()
Determines whether a task ignores the resource calendar.
Read/write bool
.
public void setIgnoreResourceCalendar(boolean value)
@Deprecated public String getNotes()
The text notes associated with a task.
Read/write string
.
@Deprecated public void setNotes(String value)
public String getNotesRTF()
The text notes in RTF format.
Read only string
.
public String getNotesText()
Notes' plain text extracted from RTF data.
Read/write string
.
public void setNotesText(String value)
public boolean getHideBar()
Determines whether the GANTT bar of a task is hidden when displayed in Microsoft Project.
Read/write bool
.
public void setHideBar(boolean value)
public boolean isRollup()
Determines whether a task is rolled up.
Read/write bool
.
public void isRollup(boolean value)
public double getBcws()
The budgeted cost of a work scheduled for a task.
Read/write double
.
public void setBcws(double value)
public double getBcwp()
The budgeted cost of a work performed on a task to-date.
Read/write double
.
public void setBcwp(double value)
public int getPhysicalPercentComplete()
The percentage complete value entered by the Project Manager.
Read/write int
.
public void setPhysicalPercentComplete(int value)
public int getEarnedValueMethod()
The method of calculating earned value.
Read/write int
.
public void setEarnedValueMethod(int value)
public long getActualWorkProtected()
public void setActualWorkProtected(long value)
public long getActualOvertimeWorkProtected()
public void setActualOvertimeWorkProtected(long value)
public boolean isPublished()
Determines whether a task is published.
Read/write bool
.
public void isPublished(boolean value)
public String getStatusManager()
The name of a task status manager.
Read/write string
.
public void setStatusManager(String value)
public Date getCommitmentStart()
public void setCommitmentStart(Date value)
public Date getCommitmentFinish()
public void setCommitmentFinish(Date value)
public int getCommitmentType()
Determines whether a task has an associated delivery or
a dependency on an associated delivery.
Read/write int
.
public void setCommitmentType(int value)
public int getUid()
The unique Id of a task.
Read/write int
.
public void setUid(int value)
public String getOutlineNumber()
The outline number of a task.
Read/write string
.
public void setOutlineNumber(String value)
public boolean isSummary()
Determines whether a task is a summary task.
Read only bool
.
public long getDuration()
public void setDuration(long value)
public String getName()
The name of a task.
Read/write string
.
public void setName(String value)
public Date getStart()
public void setStart(Date value)
public boolean equals(Object o)
Returns a value indicating whether this instance is equal to a specified object.
public int getOutlineLevel()
The outline level of a task.
Read/write int
.
public void setOutlineLevel(int value)
public int getId()
The position identifier of a task within the list of tasks.
Read/write int
.
public void setId(int value)
public int getPercentComplete()
The percentage of the task duration completed.
Read/write int
.
public void setPercentComplete(int value)
public BigDecimal getActualOvertimeCost()
public void setActualOvertimeCost(BigDecimal value)
public long getActualWork()
public void setActualWork(long value)
public int getDurationFormat()
The format of expressing the duration of a task.
Read/write TimeUnitType
.
public void setDurationFormat(int value)
public int getLevelingDelayFromat()
The format of expressing the duration of a delay.
Read/write TimeUnitType
.
public void setLevelingDelayFromat(int value)
public List<ExtendedAttribute> getExtendedAttribute()
public void setExtendedAttribute(List<ExtendedAttribute> value)
public long getBudgetWork()
public BigDecimal getBudgetCost()
public List<TimephasedData> getTimephasedData()
public void setTimephasedData(List<TimephasedData> value)
public List<TaskBaseline> getBaseline()
public void setBaseline(List<TaskBaseline> value)
public Object deepClone()
Creates full copy of a task without subtasks.
public String getGUID()
Task's GUID.
Read/write string
.
public void setGUID(String value)
public boolean isManual()
Determines whether a task is manually scheduled.
Read/write bool
.
public void isManual(boolean value)
public boolean isExpanded()
Determines whether a summary task is expanded or not.
Read/write bool
.
public void isExpanded(boolean value)
public Date getManualStart()
public void setManualStart(Date value)
public Date getManualFinish()
public void setManualFinish(Date value)
public long getManualDuration()
public void setManualDuration(long value)
public boolean getDisplayAsSummary()
Defines whether the task should be displayed as a summary task.
Read/write bool
.
public void setDisplayAsSummary(boolean value)
public int getStartSlack()
Returns the task's start slack.
Read/write int
.
public void setStartSlack(int value)
public int getFinishSlack()
Returns the task's finish slack.
Read/write int
.
public void setFinishSlack(int value)
public boolean isActive()
Determines if the task is active.
Read/write bool
.
public void isActive(boolean value)
public String getStartText()
Returns the task's start text.
Read/write string
.
public void setStartText(String value)
public String getFinishText()
Returns the task's finish text.
Read/write string
.
public void setFinishText(String value)
public int getExternalId()
If the task is an external task it contains the task's external ID.
public void setExternalId(int value)
public SplitPartCollection getSplitParts()
Returns a SplitPart collection that represents the portions of a task.
Read only Aspose.Tasks.SplitPartCollection
.
public double getDuration(int formatType)
Returns task duration in specified format.
formatType
- TimeUnitType
to get task duration in.public void setPercentComplete_(int percent)
Sets PercentComplete Property of task instance and makes necessary recalculations of ResourceAssignments if there are any.
percent
- Percent to set (from 0 to 100).public static void setPercentComplete(Task task, int percent)
Sets PercentComplete Property of task and makes necessary recalculations of ResourceAssignments if there are any.
task
- Task to set PercentComplete Property.percent
- Percent to set (from 0 to 100).public List<TimephasedData> timeScaleData(Date start, Date end, int timephasedType)
public List<TimephasedData> timeScaleData(Date start, Date end)
public static void recalculate(Task task)
Recalculates task start/finish dates according to task duration. If duration is not set then sets default task duration. If applied to Project.RootTask reschedules all project's tasks start/finish dates and sets early/late dates.
task
- Root task to recalculate.public void outlineIndent()
Indents a task in the outline.
public void outlineOutdent()
Promotes a task in the outline.
public void delete()
Deletes task from parent project tasks collection and all its assignments.
Copyright (c) 2008-2013 Aspose Pty Ltd. All Rights Reserved.