BrightSide Workbench Full Report + Source Code
org.turro.wd.tree.DefaultTask Class Referenceabstract
Inheritance diagram for org.turro.wd.tree.DefaultTask:
Collaboration diagram for org.turro.wd.tree.DefaultTask:

Public Member Functions

 DefaultTask (TreeView treeView, String caption)
 
String execute () throws TaskExecutionException
 

Protected Member Functions

abstract String done ()
 
abstract String failed ()
 
abstract void process (TreeDirectory dir) throws ParseException
 
abstract void process (TreeWorkFile file) throws ParseException
 

Protected Attributes

TreeView treeView
 

Detailed Description

Constructor & Destructor Documentation

◆ DefaultTask()

org.turro.wd.tree.DefaultTask.DefaultTask ( TreeView  treeView,
String  caption 
)

Definition at line 40 of file elephant-workingdir/src/main/java/org/turro/wd/tree/DefaultTask.java.

40  {
41  this.treeView = treeView;
42  ProgressSheet.startMeasuredProgress(caption, true);
43  }
Here is the call graph for this function:

Member Function Documentation

◆ done()

abstract String org.turro.wd.tree.DefaultTask.done ( )
abstractprotected

Reimplemented in org.turro.wd.tree.SyncTask, and org.turro.wd.tree.DelTask.

Here is the caller graph for this function:

◆ execute()

String org.turro.wd.tree.DefaultTask.execute ( ) throws TaskExecutionException

Definition at line 51 of file elephant-workingdir/src/main/java/org/turro/wd/tree/DefaultTask.java.

51  {
52  try {
53  inc = 1 / (countNodes((List<TreeNode>) treeView.getTreeData(), false, 0.0) * 1.0);
54  processNodes((List<TreeNode>) treeView.getTreeData(), false);
55  ProgressSheet.endProgress(done());
56  return done();
57  } catch (ParseException ex) {
58  Logger.getLogger(DefaultTask.class.getName()).log(Level.SEVERE, null, ex);
59  }
60  ProgressSheet.endProgress(failed());
61  return failed();
62  }
abstract String failed()
Here is the call graph for this function:
Here is the caller graph for this function:

◆ failed()

abstract String org.turro.wd.tree.DefaultTask.failed ( )
abstractprotected

Reimplemented in org.turro.wd.tree.SyncTask, and org.turro.wd.tree.DelTask.

Here is the caller graph for this function:

◆ process() [1/2]

abstract void org.turro.wd.tree.DefaultTask.process ( TreeDirectory  dir) throws ParseException
abstractprotected

◆ process() [2/2]

abstract void org.turro.wd.tree.DefaultTask.process ( TreeWorkFile  file) throws ParseException
abstractprotected

Member Data Documentation

◆ treeView

TreeView org.turro.wd.tree.DefaultTask.treeView
protected

The documentation for this class was generated from the following file: