|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
cz.zcu.validationserver.domain.GenericValidationThread
cz.zcu.validationserver.domain.ValidationMainThread
public class ValidationMainThread
Hlavni vlakno, na kterem bezi cela validace souboru. Hlavni proto, ze casti validacniho procesu (pod-casti) mohou jeste bezet na dalsich pod-vlaknech.
User: Lukas Date: 18.4.2007 Time: 10:39:33
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
private ValidationInfo |
info
|
private static boolean |
isDebugEnabled
|
private Context |
jsContext
|
private static Logger |
logger
|
private Scriptable |
scope
|
Fields inherited from class cz.zcu.validationserver.domain.GenericValidationThread |
---|
result |
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
ValidationMainThread(FullValidationResult result)
|
Method Summary | |
---|---|
private void |
checkInitialConditions()
Otestuje uplne prvni podminky - max velikost souboru, jeho priponu ... |
private void |
performValidation()
Spusti vlastni validaci |
void |
runValidation()
Vlastni beh vlakna |
private void |
setAllInfo()
Metoda nastavi vsechny informace ve ValidationInfo teto validace |
Methods inherited from class cz.zcu.validationserver.domain.GenericValidationThread |
---|
getActualDomain, getActualResult, getExitReason, popTimeLimitedBlock, pushTimeLimitedBlock, run, runForLimitedTime, setExitReason |
Methods inherited from class java.lang.Thread |
---|
activeCount, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, checkAccess, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final Logger logger
private static final boolean isDebugEnabled
private ValidationInfo info
private Context jsContext
private Scriptable scope
Constructor Detail |
---|
public ValidationMainThread(FullValidationResult result)
Method Detail |
---|
public void runValidation()
runValidation
in class GenericValidationThread
private void performValidation()
private void checkInitialConditions() throws ValidationError
ValidationError
private void setAllInfo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |