test_class.file: oak-core-spi/src/test/java/org/apache/jackrabbit/oak/spi/mount/SimpleMountInfoProviderTest.java
test_class.identifier: SimpleMountInfoProviderTest
test_case.body: @Test
      public void readOnlyMounting() throws Exception{
          MountInfoProvider mip = Mounts.newBuilder()
                  .mount("foo", "/a", "/b")
                  .readOnlyMount("bar", "/x", "/y")
                  .build();
  
          assertTrue(mip.getMountByName("bar").isReadOnly());
          assertFalse(mip.getMountByName("foo").isReadOnly());
      }
test_case.class_method_signature: SimpleMountInfoProviderTest.readOnlyMounting()
test_case.full_signature: @Test public void readOnlyMounting()
test_case.identifier: readOnlyMounting
test_case.invocations: build readOnlyMount mount newBuilder assertTrue isReadOnly getMountByName assertFalse isReadOnly getMountByName
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void readOnlyMounting()
focal_class.declarator: mounts
focal_class.modifier: private final
focal_class.original_string: private final Map<String, Mount> mounts;
focal_class.type: Map<String, Mount>
focal_class.var_name: mounts
focal_class.declarator: defMount
focal_class.modifier: private final
focal_class.original_string: private final Mount defMount;
focal_class.type: Mount
focal_class.var_name: defMount
focal_class.declarator: hasMounts
focal_class.modifier: private final
focal_class.original_string: private final boolean hasMounts;
focal_class.type: boolean
focal_class.var_name: hasMounts
focal_class.file: oak-core-spi/src/main/java/org/apache/jackrabbit/oak/spi/mount/SimpleMountInfoProvider.java
focal_class.identifier: SimpleMountInfoProvider
focal_class.interfaces: implements MountInfoProvider
focal_class.class_method_signature: SimpleMountInfoProvider.SimpleMountInfoProvider(List<Mount> mountInfos)
focal_class.full_signature:   SimpleMountInfoProvider(List<Mount> mountInfos)
focal_class.identifier: SimpleMountInfoProvider
focal_class.parameters: (List<Mount> mountInfos)
focal_class.signature:  SimpleMountInfoProvider(List<Mount> mountInfos)
focal_class.class_method_signature: SimpleMountInfoProvider.getMountByPath(String path)
focal_class.full_signature: @Override public Mount getMountByPath(String path)
focal_class.identifier: getMountByPath
focal_class.modifiers: @Override public
focal_class.parameters: (String path)
focal_class.return: Mount
focal_class.signature: Mount getMountByPath(String path)
focal_class.class_method_signature: SimpleMountInfoProvider.getNonDefaultMounts()
focal_class.full_signature: @Override public Collection<Mount> getNonDefaultMounts()
focal_class.identifier: getNonDefaultMounts
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Collection<Mount>
focal_class.signature: Collection<Mount> getNonDefaultMounts()
focal_class.class_method_signature: SimpleMountInfoProvider.getMountByName(String name)
focal_class.full_signature: @Override public Mount getMountByName(String name)
focal_class.identifier: getMountByName
focal_class.modifiers: @Override public
focal_class.parameters: (String name)
focal_class.return: Mount
focal_class.signature: Mount getMountByName(String name)
focal_class.class_method_signature: SimpleMountInfoProvider.hasNonDefaultMounts()
focal_class.full_signature: @Override public boolean hasNonDefaultMounts()
focal_class.identifier: hasNonDefaultMounts
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean hasNonDefaultMounts()
focal_class.class_method_signature: SimpleMountInfoProvider.getMountsPlacedUnder(String path)
focal_class.full_signature: @Override public Collection<Mount> getMountsPlacedUnder(String path)
focal_class.identifier: getMountsPlacedUnder
focal_class.modifiers: @Override public
focal_class.parameters: (String path)
focal_class.return: Collection<Mount>
focal_class.signature: Collection<Mount> getMountsPlacedUnder(String path)
focal_class.class_method_signature: SimpleMountInfoProvider.getMountsPlacedDirectlyUnder(String path)
focal_class.full_signature: @Override public Collection<Mount> getMountsPlacedDirectlyUnder(String path)
focal_class.identifier: getMountsPlacedDirectlyUnder
focal_class.modifiers: @Override public
focal_class.parameters: (String path)
focal_class.return: Collection<Mount>
focal_class.signature: Collection<Mount> getMountsPlacedDirectlyUnder(String path)
focal_class.class_method_signature: SimpleMountInfoProvider.getDefaultMount()
focal_class.full_signature: @Override public Mount getDefaultMount()
focal_class.identifier: getDefaultMount
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Mount
focal_class.signature: Mount getDefaultMount()
focal_class.class_method_signature: SimpleMountInfoProvider.getMounts(List<Mount> mountInfos)
focal_class.full_signature: private static Map<String, Mount> getMounts(List<Mount> mountInfos)
focal_class.identifier: getMounts
focal_class.modifiers: private static
focal_class.parameters: (List<Mount> mountInfos)
focal_class.return: Map<String, Mount>
focal_class.signature: Map<String, Mount> getMounts(List<Mount> mountInfos)
focal_class.class_method_signature: SimpleMountInfoProvider.defaultMount(Map<String, Mount> mounts)
focal_class.full_signature: private static Mount defaultMount(Map<String, Mount> mounts)
focal_class.identifier: defaultMount
focal_class.modifiers: private static
focal_class.parameters: (Map<String, Mount> mounts)
focal_class.return: Mount
focal_class.signature: Mount defaultMount(Map<String, Mount> mounts)
focal_method.body: @Override
      public Mount getMountByName(String name) {
          return mounts.get(name);
      }
focal_method.class_method_signature: SimpleMountInfoProvider.getMountByName(String name)
focal_method.full_signature: @Override public Mount getMountByName(String name)
focal_method.identifier: getMountByName
focal_method.invocations: get
focal_method.modifiers: @Override public
focal_method.parameters: (String name)
focal_method.return: Mount
focal_method.signature: Mount getMountByName(String name)