Beispiel #1
0
 public void cachedJs(Permutation permutation, final String resourceUrn) {
   getEntry(permutation.toExternal()).m_cachedJsUrns.add(resourceUrn);
 }
Beispiel #2
0
 public Set<String> getCachedJsSet(final Permutation permutation) {
   return getEntry(permutation.toExternal()).m_cachedJsUrns;
 }
Beispiel #3
0
 public boolean isCached(final Permutation permutation) {
   return m_caches.containsKey(permutation.toExternal());
 }
Beispiel #4
0
 public Iterable<String> getJsSlotNames(final Permutation permutation) {
   return getEntry(permutation.toExternal()).m_slottedJsRef.keySet();
 }
Beispiel #5
0
 public void setJsRef(
     final Permutation permutation, final String slotName, final IJsResourceRef resource) {
   getEntry(permutation.toExternal()).m_slottedJsRef.put(slotName, resource);
 }
Beispiel #6
0
 public IJsResourceRef getJsRef(Permutation permutation, final String slotName) {
   return getEntry(permutation.toExternal()).m_slottedJsRef.get(slotName);
 }