public class Task
extends javax.swing.tree.DefaultMutableTreeNode
Constructor and Description |
---|
Task(double period,
double execution,
double deadline) |
Task(java.lang.String name) |
Task(Task task) |
Modifier and Type | Method and Description |
---|---|
void |
convertToXML(java.lang.StringBuffer buffer)
Writes the Task fields into the given buffer
|
double |
getCriticalSection()
Returns the length of critical section
|
double |
getDeadline()
Returns the deadline of the Task
|
double |
getExecution()
Returns the execution time of the Task
|
double |
getJitter() |
double |
getNonIntFunc() |
double |
getOffset() |
double |
getPeriod()
Returns the period of the Task
|
java.lang.String |
getResult()
Returns the result of the Algorithm Analysis in a String
|
java.lang.String |
getTaskName()
Returns the name of the Task
|
void |
print() |
void |
printDebug() |
void |
setCriticalSection(double criticalSection)
Sets the length of critical section
|
void |
setDeadline(double deadline)
Sets the deadline of the Task
|
void |
setExecution(double execution)
Sets the execution time of the task
|
void |
setJitter(double j) |
void |
setNonIntFunc(double nonIntFunc) |
void |
setOffset(double o) |
void |
setPeriod(double period)
Sets the period of the Task
|
void |
setTaskName(java.lang.String name)
Sets the name of the Task
|
boolean |
update(Task task) |
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString
public Task(java.lang.String name)
public Task(Task task)
public Task(double period, double execution, double deadline)
public boolean update(Task task)
public void convertToXML(java.lang.StringBuffer buffer)
public void printDebug()
public void print()
public java.lang.String getResult()
public java.lang.String getTaskName()
public void setTaskName(java.lang.String name)
name
- public double getPeriod()
public void setPeriod(double period)
period
- public double getExecution()
public void setExecution(double execution)
executionTime
- public double getDeadline()
public void setDeadline(double deadline)
deadline
- public double getCriticalSection()
public void setCriticalSection(double criticalSection)
critical_section
- public void setJitter(double j)
public double getJitter()
public void setOffset(double o)
public double getOffset()
public void setNonIntFunc(double nonIntFunc)
public double getNonIntFunc()