| Package | Description |
|---|---|
| net.sf.mpxj | |
| net.sf.mpxj.listener | |
| net.sf.mpxj.mpx | |
| net.sf.mpxj.utility |
| Modifier and Type | Method and Description |
|---|---|
Task |
Task.addTask()
This method allows nested tasks to be added, with the WBS being
completed automatically.
|
Task |
ProjectFile.addTask()
This method allows a task to be added to the file programatically.
|
Task |
Task.getParentTask()
This method retrieves a reference to the parent of this task, as
defined by the outline level.
|
Task |
Relation.getSourceTask()
Retrieve the source task of this relationship.
|
Task |
Relation.getTargetTask()
Retrieve the target task of this relationship.
|
Task |
ResourceAssignment.getTask()
This method retrieves a reference to the task with which this
assignment is associated.
|
Task |
ProjectFile.getTaskByID(Integer id)
This method allows an arbitrary task to be retrieved based
on its ID field.
|
Task |
ProjectFile.getTaskByUniqueID(Integer id)
This method allows an arbitrary task to be retrieved based
on its UniqueID field.
|
| Modifier and Type | Method and Description |
|---|---|
List<Task> |
ProjectFile.getAllTasks()
This method is used to retrieve a list of all of the tasks
that are defined in this project file.
|
List<Task> |
TaskContainer.getChildTasks()
Retrieve a list of child tasks held by this object.
|
List<Task> |
Task.getChildTasks()
This method retrieves a list of child tasks relative to the
current task, as defined by the outine level.
|
List<Task> |
ProjectFile.getChildTasks()
This method is used to retrieve a list of all of the top level tasks
that are defined in this project file.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Task.addChildTask(Task child)
This method is used to associate a child task with the current
task instance.
|
void |
Task.addChildTask(Task child,
int childOutlineLevel)
This method is used to associate a child task with the current
task instance.
|
void |
Task.addChildTaskBefore(Task child,
Task previousSibling)
Inserts a child task prior to a given sibling task.
|
Relation |
Task.addPredecessor(Task targetTask,
RelationType type,
Duration lag)
This method allows a predecessor relationship to be added to this
task instance.
|
int |
Task.compareTo(Task o)
This method implements the only method in the Comparable interface.
|
void |
ProjectFile.fireTaskReadEvent(Task task)
This method is called to alert project listeners to the fact that
a task has been read from a project file.
|
void |
ProjectFile.fireTaskWrittenEvent(Task task)
This method is called to alert project listeners to the fact that
a task has been written to a project file.
|
void |
Task.generateOutlineNumber(Task parent)
This method is used to automatically generate a value
for the Outline Number field of this task.
|
void |
Task.generateWBS(Task parent)
This method is used to automatically generate a value
for the WBS field of this task.
|
boolean |
Task.isPredecessor(Task task)
Utility method used to determine if the supplied task
is a predecessor of the current task.
|
boolean |
Task.isSucessor(Task task)
Utility method used to determine if the supplied task
is a successor of the current task.
|
ResourceAssignment |
ProjectFile.newResourceAssignment(Task task)
This method has been provided to allow the subclasses to
instantiate ResourecAssignment instances.
|
void |
SplitTaskFactory.processSplitData(Task task,
List<TimephasedWork> timephasedComplete,
List<TimephasedWork> timephasedPlanned)
Process the timephased resource assignment data to work out the
split structure of the task.
|
void |
Task.removeChildTask(Task child)
Removes a child task.
|
boolean |
Task.removePredecessor(Task targetTask,
RelationType type,
Duration lag)
This method allows a predecessor relationship to be removed from this
task instance.
|
void |
ProjectFile.removeTask(Task task)
This method is used to remove a task from the project.
|
| Constructor and Description |
|---|
Relation(Task sourceTask,
Task targetTask,
RelationType type,
Duration lag)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ProjectListener.taskRead(Task task)
This method is called when a task is read from a file.
|
void |
DefaultProjectListener.taskRead(Task task)
This method is called when a task is read from a file.
|
void |
ProjectListener.taskWritten(Task task)
This method is called when a task is written to a file.
|
void |
DefaultProjectListener.taskWritten(Task task)
This method is called when a task is written to a file.
|
| Modifier and Type | Method and Description |
|---|---|
Task |
MPXReader.DeferredRelationship.getTask()
Retrieve the parent task.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MPXReader.DeferredRelationship.setTask(Task task)
Set the parent task instance.
|
| Modifier and Type | Method and Description |
|---|---|
static Duration |
DateUtility.getVariance(Task task,
Date date1,
Date date2,
TimeUnit format)
This utility method calculates the difference in working
time between two dates, given the context of a task.
|
Copyright © 2013. All Rights Reserved.