Uses of Class
com.aspose.tasks.Task
-
-
Uses of Task in com.aspose.tasks
Fields in com.aspose.tasks with type parameters of type Task Modifier and Type Field Description static Key<Task,Integer>
Asn. TASK
The task to which a resource is assigned.Methods in com.aspose.tasks that return Task Modifier and Type Method Description Task
TaskCollection. add()
Adds new task to project tasks collection on the same outline level of the last task.Task
TaskCollection. add(RecurringTaskParameters parameters)
Inserts a new task before a task with the specified id and on the same outline level.Task
TaskCollection. add(String taskName)
Adds a new task to children tasks collection.Task
TaskCollection. add(String taskName, int beforeTaskId)
Adds a new recurring task to children tasks collection.static Task
TaskUtils. filter(Task root, ICondition<Task> cond)
Builds new tree of tasks which satisfy the condition.static Task
TaskUtils. find(Task root, ICondition<Task> cond)
Finds a task which satisfy the condition in a tree of tasks.Task
TaskCollection. get(int index)
(@inheritDoc}Task
TaskCollection. getById(int id)
Returns a task with the specified Id whose ancestor is parent task of this collection .Task
TaskCollection. getByUid(int uid)
Returns a task with the specified Uid whose ancestor is parent task of this collection .Task
Task. getParentTask()
Gets the parent task of a task.Task
TaskLink. getPredTask()
Gets the predecessor task.Task
Project. getRootTask()
Gets the root of the tree of tasks.Task
TaskLink. getSuccTask()
Gets the successor task.Task
RecurringTaskInfo. getTask()
Gets the parent task of this instance ofRecurringTaskInfo
class.Task
ResourceAssignment. getTask()
The task to which a resource is assigned.Task
RiskPattern. getTask()
Gets a project task to which this risk pattern is applied.Task
TaskTextStyleEventArgs. getTask()
GetsTask
(TaskTextStyleEventArgs.getTask()
/TaskTextStyleEventArgs.setTask(Task)
) which corresponds to the currently rendered row.Methods in com.aspose.tasks that return types with arguments of type Task Modifier and Type Method Description Set<Map.Entry<Task,RiskItemStatistics>>
RiskItemStatisticsCollection. entrySet()
Returns aSet
view of the mappings contained in this map.Iterable<Task>
Project. enumerateAllChildTasks()
Recursively enumerates all project's tasks including root task.List<Task>
ChildTasksCollector. getTasks()
Gets a list collected child objects (tasks).Comparator<Task>
SaveOptions. getTasksComparer()
Gets the comparer to sort tasks on Gantt chart and Task Sheet chart.ICondition<Task>
SaveOptions. getTasksFilter()
Gets the condition which is used to filter tasks rendered on Gantt, Task Sheet and Task Usage charts.Iterator<Task>
TaskCollection. iterator()
Returns an enumerator for this collection.Set<Task>
RiskItemStatisticsCollection. keySet()
Returns aSet
view of the keys contained in this map.List<Task>
Project. selectAllChildTasks()
Recursively collects all child tasks of the root task.Iterable<Task>
Task. selectAllChildTasks()
Recursively collects all child tasks of this task.List<Task>
TaskCollection. toList()
Converts the TaskCollection object to a list ofTask
objects.Methods in com.aspose.tasks with parameters of type Task Modifier and Type Method Description ResourceAssignment
ResourceAssignmentCollection. add(Task task, Resource resource)
Adds new assignment to the ResourceAssignmentCollection.ResourceAssignment
ResourceAssignmentCollection. add(Task task, Resource resource, double units)
Adds new assignment to the ResourceAssignmentCollection.ResourceAssignment
ResourceAssignmentCollection. add(Task task, Resource resource, BigDecimal cost)
Adds new assignment to the ResourceAssignmentCollection.boolean
TaskCollection. add(Task item)
Add the specified task to the instance of theTaskCollection
class.TaskLink
TaskLinkCollection. add(Task pred, Task succ)
Returns an instance of Finish-StartTaskLink
which has been added to the TaskLinkCollection object.TaskLink
TaskLinkCollection. add(Task pred, Task succ, int linkType)
Returns an instance ofTaskLink
which has been added to the TaskLinkCollection object.TaskLink
TaskLinkCollection. add(Task pred, Task succ, int linkType, Duration lag)
Returns an instance ofTaskLink
which has been added to the TaskLinkCollection object.void
CheckCircuit. alg(Task el, int level)
Check if the specified object was already processed.void
ChildTasksCollector. alg(Task el, int level)
Processes the specified object.void
RemoveTask. alg(Task el, int level)
Do nothing.static void
TaskUtils. apply(Task root, ITreeAlgorithm<Task> alg, int level)
Applies specified algorithm to each task of a tree.boolean
TaskCollection. contains(Task item)
Checks if collection contains specified item.boolean
Task. equals(Task other)
Returns a value indicating whether this instance is equal to a specified task.static Task
TaskUtils. filter(Task root, ICondition<Task> cond)
Builds new tree of tasks which satisfy the condition.static Task
TaskUtils. find(Task root, ICondition<Task> cond)
Finds a task which satisfy the condition in a tree of tasks.RiskPattern
RiskPatternCollection. get_Item(Task task)
Gets the instance of theRiskPattern
class for the specified task.String
GanttChartColumn. getColumnText(Task task)
Converts current task to the column text.TaskLinkCollection
Project. getPredecessors(Task task)
Returns a collection of task links which are predecessors of the specified task.Date
Calendar. getTaskFinishDateFromDuration(Task task, double duration)
Calculates the task finish date and time from its start date, split parts and the duration.abstract String
TaskBarTextConverter. invoke(Task task)
Custom converter of task's data to bar text.String
TaskToColumnTextConverter. invoke(Task task)
Retrieves the text for the column.void
Task. moveToSibling(Task beforeTask)
Moves the current task at the same Outline Level before the specified task.void
RemoveTask. postAlg(Task el, int level)
Do nothing.void
RemoveTask. preAlg(Task el, int level)
Removes the task from the specified parent task.RiskItemStatistics
RiskItemStatisticsCollection. put(Task key, RiskItemStatistics value)
Associates the specified value with the specified key in this map.void
TaskLink. setPredTask(Task value)
Sets the predecessor task.void
TaskLink. setSuccTask(Task value)
Sets the successor task.void
ResourceAssignment. setTask(Task value)
The task to which a resource is assigned.static int
TaskUtils. taskChildrenCount(Task task)
Recursively calculates a number of task's children tasks through all levels.Method parameters in com.aspose.tasks with type arguments of type Task Modifier and Type Method Description static void
TaskUtils. apply(Task root, ITreeAlgorithm<Task> alg, int level)
Applies specified algorithm to each task of a tree.static Task
TaskUtils. filter(Task root, ICondition<Task> cond)
Builds new tree of tasks which satisfy the condition.static Task
TaskUtils. find(Task root, ICondition<Task> cond)
Finds a task which satisfy the condition in a tree of tasks.void
RiskItemStatisticsCollection. putAll(Map<? extends Task,? extends RiskItemStatistics> m)
Copies all of the mappings from the specified map to this map.void
Project. rescheduleUncompletedWorkToStartAfter(Date after, List<Task> taskCollection)
Reschedules uncompleted work for a specified list of tasks to start after a specified date.void
Project. setBaseline(int baselineType, Iterable<Task> taskCollection)
Saves baseline fields to the specified baseline for the selected tasks.void
SaveOptions. setTasksComparer(Comparator<Task> value)
Sets the comparer to sort tasks on Gantt chart and Task Sheet chart.void
SaveOptions. setTasksFilter(ICondition<Task> value)
Sets the condition which is used to filter tasks rendered on Gantt, Task Sheet and Task Usage charts.void
TaskCollection. sort(Comparator<? super Task> c)
void
Project. updateProjectWorkAsComplete(Date completeThrough, boolean setZeroOrHundredPercentCompleteOnly, List<Task> taskCollection)
Updates all work as complete through a specified date for the specified list of tasks.Constructors in com.aspose.tasks with parameters of type Task Constructor Description RemoveTask(Task task)
Initializes a new instance of theRemoveTask
class.RiskPattern(Task task)
Initializes a new instance of theRiskPattern
class.TaskBaseline(Task task)
Initializes a new instance of theTaskBaseline
class.
-