|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
jack.plugin.prove.ProofTask
Class corresponding to a proof task that must be (or is) performed.
Field Summary | |
static int |
ERROR
Constant corresponding to the error state. |
static int |
FINISHED
Constant corresponding to the state. |
static int |
LOADING
Constant corresponding to the loading state. |
static int |
RUNNING
Constant corresponding to the running state. |
static int |
STARTING
Constant corresponding to the starting state. |
static int |
STOPPED
|
static int |
WAITING
Constant corresponding to the waiting state. |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
ProofTask()
|
|
ProofTask(ICaseExplorer c)
|
Method Summary | |
abstract ProveAction |
factory()
|
abstract ProofTask |
factory(org.eclipse.core.resources.IFile jpoFile,
org.eclipse.jdt.core.ICompilationUnit cu)
|
java.util.Date |
getCreationDate()
Return the creation date of the task. |
java.util.Date |
getEndDate()
Returns the end date of the task. |
java.lang.String |
getErrorDescription()
Returns the description of the last error encountered. |
java.lang.String |
getErrorDetails()
Returns detail about the last error encountered. |
java.lang.String |
getFileName()
|
int |
getNumPos()
|
int |
getNumToTry()
Returns the number of proof obligations that still have to be tried. |
int |
getPoProved()
Returns the number of proved proof obligations. |
int |
getPoTried()
Returns the number of proof obligations that have already been tried. |
abstract java.lang.String |
getProverName()
return the name of the prover used by this ProofTask. |
java.util.Date |
getStartDate()
Return the start date of teh task. |
int |
getState()
Returns the state of the task. |
java.lang.String |
getStringState()
|
boolean |
isRunning()
Returns true iff proofs are currently performed on this task. |
int |
nbPo()
Returns the total number of proof obligations. |
abstract void |
run()
Starts the proof. |
void |
setEndOp(TreeItemSelection ehl)
|
void |
setJPov(JpoFile jpoFile2)
|
void |
setPartial(java.lang.String repos)
This method is called when the partial mode is called. |
void |
start()
|
void |
stopAsSoonAsYouCanPlease()
Function that asks the thread to stop when he can. |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int FINISHED
public static final int WAITING
public static final int RUNNING
public static final int LOADING
public static final int STARTING
public static final int STOPPED
public static final int ERROR
Constructor Detail |
public ProofTask()
public ProofTask(ICaseExplorer c)
c
- Method Detail |
public boolean isRunning()
public abstract ProofTask factory(org.eclipse.core.resources.IFile jpoFile, org.eclipse.jdt.core.ICompilationUnit cu)
public abstract ProveAction factory()
public int getState()
RUNNING
,
FINISHED
,
LOADING
,
WAITING
or
ERROR
public java.lang.String getStringState()
public java.lang.String getFileName()
public void stopAsSoonAsYouCanPlease()
public int getPoTried()
public int getNumToTry()
public int getPoProved()
public java.util.Date getCreationDate()
public java.util.Date getStartDate()
public java.util.Date getEndDate()
public int nbPo()
public java.lang.String getErrorDescription()
This method will only provide meaningfull values if the current state is
ERROR
.
public java.lang.String getErrorDetails()
In case were no details are available, returns null
.
null
in case where no information is available.public abstract void run()
public void start()
public abstract java.lang.String getProverName()
public int getNumPos()
public void setJPov(JpoFile jpoFile2)
jpoFile2
- public void setEndOp(TreeItemSelection ehl)
ehl
- public void setPartial(java.lang.String repos)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |