|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectObjetoTarefaParaGrafico
public class ObjetoTarefaParaGrafico
Classe auxiliar, que carrega apenas as informaes necessrias das tarefas para a plotagem do grfico.
Constructor Summary | |
---|---|
ObjetoTarefaParaGrafico(java.lang.String nom,
float per,
float che,
int numOc,
float[] oc,
java.util.ArrayList in,
java.util.ArrayList term)
Cria uma nova tarefa com nome, perodo, chegada, nmero de ocorrncias e as listas com os tempos em que a tarefa foi iniciada e finalizada |
Method Summary | |
---|---|
java.lang.String |
getNome()
Retorna o nome da tarefa. |
java.util.ArrayList |
getTemposDeInicio()
Retorna um Arraylist com os tempos de incio de execuo. |
float[] |
getTemposDeOcorrencias()
Retorna um vetor com os tempos de ocorrncia. |
java.util.ArrayList |
getTemposDeTermino()
Retorna um Arraylist com os tempos de trmino (incluindo interrupo) de execuo. |
boolean |
isMigrada()
Diz se a tarefa j foi migrada, ou no. |
void |
setMigrada(boolean flag)
True se a tarefa nao pertence ao processador atual, ou seja, foi migrada. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ObjetoTarefaParaGrafico(java.lang.String nom, float per, float che, int numOc, float[] oc, java.util.ArrayList in, java.util.ArrayList term)
nom
- per
- che
- numOc
- oc
- in
- term
- Method Detail |
---|
public java.lang.String getNome()
public java.util.ArrayList getTemposDeInicio()
public java.util.ArrayList getTemposDeTermino()
public float[] getTemposDeOcorrencias()
public boolean isMigrada()
public void setMigrada(boolean flag)
flag
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |