eu.xtreemos.xosd.localallocmgr.frontend
Class ResourceDirectory
java.lang.Object
eu.xtreemos.xosd.localallocmgr.frontend.ResourceDirectory
public class ResourceDirectory
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
resources
java.util.Hashtable<java.lang.String,TimeTable> resources
properties
java.util.Hashtable<java.lang.String,ResourceProperties> properties
ResourceDirectory
public ResourceDirectory()
addResource
public void addResource(java.lang.String resourceID)
removeReousce
public void removeReousce(java.lang.String resourceID)
hasResource
public boolean hasResource(java.lang.String resourceID)
getResources
public java.util.ArrayList<java.lang.String> getResources()
- Returns an array of all resources registered in the directory.
Not returning the set, since it allows manipulation of the
hashtable ...
- Returns:
getTimeTableFor
public TimeTable getTimeTableFor(java.lang.String resourceID)
getPropertiesFor
public ResourceProperties getPropertiesFor(java.lang.String resourceID)
addPropertyFor
public void addPropertyFor(java.lang.String resourceID,
IResourceProperty prop)