charly.server.resources
Class ChRsrcManagerImpl.ChClientTaskInfo

java.lang.Object
  extended bycharly.server.resources.ChRsrcManagerImpl.ChClientTaskInfo
Enclosing class:
ChRsrcManagerImpl

static class ChRsrcManagerImpl.ChClientTaskInfo
extends java.lang.Object


Field Summary
(package private)  boolean accepted
          resources reserved?
(package private)  java.util.Set rsrcNames
          contains elems of type String.
(package private)  boolean started
          startTask already called?
(package private)  ChClientTask task
           
 
Constructor Summary
(package private) ChRsrcManagerImpl.ChClientTaskInfo(ChClientTask task)
           
(package private) ChRsrcManagerImpl.ChClientTaskInfo(ChClientTask task, java.util.Set rsrcNames)
           
 
Method Summary
(package private)  boolean containsAnyRsrc(java.util.Set cmpRsrcNames)
          returns true, if any of the given rsrcs or one of their parents is included.
(package private)  boolean containsRsrc(java.lang.String rsrcName)
          returns true, if given rsrc or its parent rsrc is included
(package private)  void normalizeRsrcNames()
          normalizes the resource names, i.e. removes DELIMITERCHARs at the end of the String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

started

boolean started
startTask already called? and endTask not yet called?


accepted

boolean accepted
resources reserved?


rsrcNames

java.util.Set rsrcNames
contains elems of type String.


task

ChClientTask task
Constructor Detail

ChRsrcManagerImpl.ChClientTaskInfo

ChRsrcManagerImpl.ChClientTaskInfo(ChClientTask task,
                                   java.util.Set rsrcNames)

ChRsrcManagerImpl.ChClientTaskInfo

ChRsrcManagerImpl.ChClientTaskInfo(ChClientTask task)
Method Detail

containsRsrc

boolean containsRsrc(java.lang.String rsrcName)
returns true, if given rsrc or its parent rsrc is included


containsAnyRsrc

boolean containsAnyRsrc(java.util.Set cmpRsrcNames)
returns true, if any of the given rsrcs or one of their parents is included.

Parameters:
cmpRsrcNames - - Set of String determining the resources to be compared to

normalizeRsrcNames

void normalizeRsrcNames()
normalizes the resource names, i.e. removes DELIMITERCHARs at the end of the String. It is called by the constructor.