Package com.nomagic.magicdraw.teamwork2
Class TeamworkService.LoginTask
- java.lang.Object
-
- com.nomagic.task.SwingWorker<java.lang.Object>
-
- com.nomagic.task.Task
-
- com.nomagic.magicdraw.teamwork2.TeamworkService.LoginTask
-
- Enclosing class:
- TeamworkService
private final class TeamworkService.LoginTask extends Task
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.nomagic.task.Task
com.nomagic.task.Task.DoFinishedExecuter
-
-
Constructor Summary
Constructors Constructor Description LoginTask(java.util.Map<java.lang.String,java.lang.Boolean> options)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
boolean
getResult()
void
interrupt()
Sets state to CANCELED.-
Methods inherited from class com.nomagic.task.Task
addPropertyChangedListener, construct, currentTaskStatus, doFinished, getException, getName, getState, getStatus, interruptAndStop, isActiveTasks, isCancelable, isCanceled, isCompleted, isException, isFinished, isReady, isWorking, removePropertyChangedListener, setCancelable, setDoFinishedExecuter, setException, setFinished, setInterruptThreadOnCancel, setName, setState, setStatus, stopTask
-
-
-
-
Method Detail
-
execute
public void execute()
-
interrupt
public void interrupt()
Description copied from class:Task
Sets state to CANCELED. Notifies all threads that are waiting on this object monitor.
-
getResult
public boolean getResult()
-
-