cz.zcu.sumarizer.jobs
Class Jobs

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<Job>
              extended by cz.zcu.sumarizer.jobs.Jobs
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<Job>, java.util.Collection<Job>, java.util.List<Job>, java.util.RandomAccess

public class Jobs
extends java.util.ArrayList<Job>

Trida zastresuje seznam uloh, ktere je potreba spustit

Author:
Sloup
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
Jobs()
           
 
Method Summary
 void Execute()
          Spusti vsechny ulohy v seznamu uloh
 long getRunTimeInMilis()
          Vraci delku behu vsech programu
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

Jobs

public Jobs()
Method Detail

Execute

public void Execute()
             throws java.lang.Exception
Spusti vsechny ulohy v seznamu uloh

Throws:
java.lang.Exception - pokud nastane nejaka chyba pri vykonavani ulohy

getRunTimeInMilis

public long getRunTimeInMilis()
Vraci delku behu vsech programu

Returns:
delka behu vsech programu v milisekundach