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. TASKThe task to which a resource is assigned.Methods in com.aspose.tasks that return Task Modifier and Type Method Description TaskTaskCollection. add()Adds new task to project tasks collection on the same outline level of the last task.TaskTaskCollection. add(RecurringTaskParameters parameters)Inserts a new task before a task with the specified id and on the same outline level.TaskTaskCollection. add(String taskName)Adds a new task to children tasks collection.TaskTaskCollection. add(String taskName, int beforeTaskId)Adds a new recurring task to children tasks collection.static TaskTaskUtils. filter(Task root, ICondition<Task> cond)Builds new tree of tasks which satisfy the condition.static TaskTaskUtils. find(Task root, ICondition<Task> cond)Finds a task which satisfy the condition in a tree of tasks.TaskTaskCollection. get(int index)(@inheritDoc}TaskTaskCollection. getById(int id)Returns a task with the specified Id whose ancestor is parent task of this collection .TaskTaskCollection. getByUid(int uid)Returns a task with the specified Uid whose ancestor is parent task of this collection .TaskTask. getParentTask()Gets the parent task of a task.TaskTaskLink. getPredTask()Gets the predecessor task.TaskProject. getRootTask()Gets the root of the tree of tasks.TaskTaskLink. getSuccTask()Gets the successor task.TaskRecurringTaskInfo. getTask()Gets the parent task of this instance ofRecurringTaskInfoclass.TaskRiskPattern. getTask()Gets a project task to which this risk pattern is applied.TaskTaskTextStyleEventArgs. 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 aSetview of the mappings contained in this map.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 aSetview 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 ofTaskobjects.Methods in com.aspose.tasks with parameters of type Task Modifier and Type Method Description ResourceAssignmentResourceAssignmentCollection. add(Task task, Resource resource)Adds new assignment to the ResourceAssignmentCollection.ResourceAssignmentResourceAssignmentCollection. add(Task task, Resource resource, double units)Adds new assignment to the ResourceAssignmentCollection.ResourceAssignmentResourceAssignmentCollection. add(Task task, Resource resource, BigDecimal cost)Adds new assignment to the ResourceAssignmentCollection.booleanTaskCollection. add(Task item)Add the specified task to the instance of theTaskCollectionclass.TaskLinkTaskLinkCollection. add(Task pred, Task succ)Returns an instance of Finish-StartTaskLinkwhich has been added to the TaskLinkCollection object.TaskLinkTaskLinkCollection. add(Task pred, Task succ, int linkType)Returns an instance ofTaskLinkwhich has been added to the TaskLinkCollection object.TaskLinkTaskLinkCollection. add(Task pred, Task succ, int linkType, Duration lag)Returns an instance ofTaskLinkwhich has been added to the TaskLinkCollection object.voidCheckCircuit. alg(Task el, int level)Check if the specified object was already processed.voidChildTasksCollector. alg(Task el, int level)Processes the specified object.voidRemoveTask. alg(Task el, int level)Do nothing.static voidTaskUtils. apply(Task root, ITreeAlgorithm<Task> alg, int level)Applies specified algorithm to each task of a tree.booleanTaskCollection. contains(Task item)Checks if collection contains specified item.booleanTask. equals(Task other)Returns a value indicating whether this instance is equal to a specified task.static TaskTaskUtils. filter(Task root, ICondition<Task> cond)Builds new tree of tasks which satisfy the condition.static TaskTaskUtils. find(Task root, ICondition<Task> cond)Finds a task which satisfy the condition in a tree of tasks.RiskPatternRiskPatternCollection. get_Item(Task task)Gets the instance of theRiskPatternclass for the specified task.StringGanttChartColumn. getColumnText(Task task)Converts current task to the column text.TaskLinkCollectionProject. getPredecessors(Task task)Returns a collection of task links which are predecessors of the specified task.DateCalendar. getTaskFinishDateFromDuration(Task task, double duration)Calculates the task finish date and time from its start date, split parts and the duration.abstract StringBarStyle.TaskToBarTextConverter. invoke(Task task)Deprecated.Task's data to bar text converter.abstract StringTaskBarTextConverter. invoke(Task task)Custom converter of task's data to bar text.StringTaskToColumnTextConverter. invoke(Task task)Retrieves the text for the column.voidTask. moveToSibling(Task beforeTask)Moves the current task at the same Outline Level before the specified task.voidRemoveTask. postAlg(Task el, int level)Do nothing.voidRemoveTask. preAlg(Task el, int level)Removes the task from the specified parent task.RiskItemStatisticsRiskItemStatisticsCollection. put(Task key, RiskItemStatistics value)Associates the specified value with the specified key in this map.voidTaskLink. setPredTask(Task value)Sets the predecessor task.voidTaskLink. setSuccTask(Task value)Sets the successor task.static intTaskUtils. 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 voidTaskUtils. apply(Task root, ITreeAlgorithm<Task> alg, int level)Applies specified algorithm to each task of a tree.static TaskTaskUtils. filter(Task root, ICondition<Task> cond)Builds new tree of tasks which satisfy the condition.static TaskTaskUtils. find(Task root, ICondition<Task> cond)Finds a task which satisfy the condition in a tree of tasks.voidRiskItemStatisticsCollection. putAll(Map<? extends Task,? extends RiskItemStatistics> m)Copies all of the mappings from the specified map to this map.voidProject. rescheduleUncompletedWorkToStartAfter(Date after, List<Task> taskCollection)Reschedules uncompleted work for a specified list of tasks to start after a specified date.voidProject. setBaseline(int baselineType, Iterable<Task> taskCollection)Saves baseline fields to the specified baseline for the selected tasks.voidSaveOptions. setTasksComparer(Comparator<Task> value)Sets the comparer to sort tasks on Gantt chart and Task Sheet chart.voidSaveOptions. setTasksFilter(ICondition<Task> value)Sets the condition which is used to filter tasks rendered on Gantt, Task Sheet and Task Usage charts.voidTaskCollection. sort(Comparator<? super Task> c)voidProject. 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 theRemoveTaskclass.RiskPattern(Task task)Initializes a new instance of theRiskPatternclass.TaskBaseline(Task task)Initializes a new instance of theTaskBaselineclass.
-