Class ResourceMapping.ResourceType<T>

  • Enclosing class:
    ResourceMapping

    private static class ResourceMapping.ResourceType<T>
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.Class<T> clazz  
      private java.lang.String requiredKeyPrefix  
      private java.util.Map<java.lang.String,​T> resources  
    • Constructor Summary

      Constructors 
      Constructor Description
      ResourceType​(java.lang.Class<T> clazz, java.lang.String requiredKeyPrefix, java.util.Map<java.lang.String,​T> resources)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) boolean put​(java.lang.String key, java.lang.Object resource)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • clazz

        private final java.lang.Class<T> clazz
      • requiredKeyPrefix

        private final java.lang.String requiredKeyPrefix
      • resources

        private final java.util.Map<java.lang.String,​T> resources
    • Constructor Detail

      • ResourceType

        public ResourceType​(java.lang.Class<T> clazz,
                            java.lang.String requiredKeyPrefix,
                            java.util.Map<java.lang.String,​T> resources)
    • Method Detail

      • put

        boolean put​(java.lang.String key,
                    java.lang.Object resource)