com.application.areca.launcher.gui
Class Workspace
java.lang.Object
com.application.areca.launcher.gui.Workspace
public class Workspace
- extends java.lang.Object
This class implements a workspace.
A workspace is a collection of target groups, each group containing a collection of targets.
- Author:
- Olivier PETRUCCI
Areca Build ID : 7299034069467778562
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
path
protected java.lang.String path
groups
protected java.util.HashMap groups
xmlFiles
protected java.util.HashMap xmlFiles
application
protected Application application
Workspace
public Workspace(java.lang.String path,
Application application)
throws AdapterException
- Throws:
AdapterException
getGroupCount
public int getGroupCount()
- Return the number of groups contained in the workspace
getGroupById
public TargetGroup getGroupById(java.lang.String source)
getConfigFile
public java.io.File getConfigFile(TargetGroup group)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
removeGroup
public void removeGroup(java.lang.String source)
removeGroup
public void removeGroup(TargetGroup group)
getGroupIterator
public java.util.Iterator getGroupIterator()
getSortedGroupIterator
public java.util.Iterator getSortedGroupIterator()
- Return an iterator. All target are sorted by ID
getPath
public java.lang.String getPath()
addGroup
public void addGroup(TargetGroup group)