test_class.declarator: docViewXmlValidator
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private DocumentViewXmlValidator docViewXmlValidator;
test_class.type: DocumentViewXmlValidator
test_class.var_name: docViewXmlValidator
test_class.declarator: propertiesValidator
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private PropertiesValidator propertiesValidator;
test_class.type: PropertiesValidator
test_class.var_name: propertiesValidator
test_class.declarator: nodePathValidator
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private NodePathValidator nodePathValidator;
test_class.type: NodePathValidator
test_class.var_name: nodePathValidator
test_class.declarator: genericJcrDataValidator
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private GenericJcrDataValidator genericJcrDataValidator;
test_class.type: GenericJcrDataValidator
test_class.var_name: genericJcrDataValidator
test_class.declarator: genericJcrDataValidator2
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private GenericJcrDataValidator genericJcrDataValidator2;
test_class.type: GenericJcrDataValidator
test_class.var_name: genericJcrDataValidator2
test_class.declarator: genericMetaInfDataValidator
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private GenericMetaInfDataValidator genericMetaInfDataValidator;
test_class.type: GenericMetaInfDataValidator
test_class.var_name: genericMetaInfDataValidator
test_class.declarator: genericMetaInfDataValidator2
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private GenericMetaInfDataValidator genericMetaInfDataValidator2;
test_class.type: GenericMetaInfDataValidator
test_class.var_name: genericMetaInfDataValidator2
test_class.declarator: jcrPathValidator
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private JcrPathValidator jcrPathValidator;
test_class.type: JcrPathValidator
test_class.var_name: jcrPathValidator
test_class.declarator: metaInfPathValidator
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private MetaInfPathValidator metaInfPathValidator;
test_class.type: MetaInfPathValidator
test_class.var_name: metaInfPathValidator
test_class.declarator: unusedValidator
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private Validator unusedValidator;
test_class.type: Validator
test_class.var_name: unusedValidator
test_class.declarator: context
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private ValidationContext context;
test_class.type: ValidationContext
test_class.var_name: context
test_class.declarator: executor
test_class.modifier: private
test_class.original_string: private ValidationExecutor executor;
test_class.type: ValidationExecutor
test_class.var_name: executor
test_class.file: vault-validation/src/test/java/org/apache/jackrabbit/vault/validation/ValidationExecutorTest.java
test_class.identifier: ValidationExecutorTest
test_case.body: @Test
      public void testFilePathToNodePath() {
          Assert.assertEquals("/apps/test", ValidationExecutor.filePathToNodePath(Paths.get("apps", "test")));
          Assert.assertEquals("/some/other/path", ValidationExecutor.filePathToNodePath(Paths.get("some", "other", "path")));
      }
test_case.class_method_signature: ValidationExecutorTest.testFilePathToNodePath()
test_case.full_signature: @Test public void testFilePathToNodePath()
test_case.identifier: testFilePathToNodePath
test_case.invocations: assertEquals filePathToNodePath get assertEquals filePathToNodePath get
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testFilePathToNodePath()
focal_class.declarator: documentViewXmlValidators
focal_class.modifier: private final
focal_class.original_string: private final Map<String, DocumentViewXmlValidator> documentViewXmlValidators;
focal_class.type: Map<String, DocumentViewXmlValidator>
focal_class.var_name: documentViewXmlValidators
focal_class.declarator: nodePathValidators
focal_class.modifier: private final
focal_class.original_string: private final Map<String, NodePathValidator> nodePathValidators;
focal_class.type: Map<String, NodePathValidator>
focal_class.var_name: nodePathValidators
focal_class.declarator: genericJcrDataValidators
focal_class.modifier: private final
focal_class.original_string: private final Map<String, GenericJcrDataValidator> genericJcrDataValidators;
focal_class.type: Map<String, GenericJcrDataValidator>
focal_class.var_name: genericJcrDataValidators
focal_class.declarator: genericMetaInfDataValidators
focal_class.modifier: private final
focal_class.original_string: private final Map<String, GenericMetaInfDataValidator> genericMetaInfDataValidators;
focal_class.type: Map<String, GenericMetaInfDataValidator>
focal_class.var_name: genericMetaInfDataValidators
focal_class.declarator: metaInfPathValidators
focal_class.modifier: private final
focal_class.original_string: private final Map<String, MetaInfPathValidator> metaInfPathValidators;
focal_class.type: Map<String, MetaInfPathValidator>
focal_class.var_name: metaInfPathValidators
focal_class.declarator: jcrPathValidators
focal_class.modifier: private final
focal_class.original_string: private final Map<String, JcrPathValidator> jcrPathValidators;
focal_class.type: Map<String, JcrPathValidator>
focal_class.var_name: jcrPathValidators
focal_class.declarator: filterValidators
focal_class.modifier: private final
focal_class.original_string: private final Map<String, FilterValidator> filterValidators;
focal_class.type: Map<String, FilterValidator>
focal_class.var_name: filterValidators
focal_class.declarator: propertiesValidators
focal_class.modifier: private final
focal_class.original_string: private final Map<String, PropertiesValidator> propertiesValidators;
focal_class.type: Map<String, PropertiesValidator>
focal_class.var_name: propertiesValidators
focal_class.declarator: validatorsById
focal_class.modifier: private final @NotNull
focal_class.original_string: private final @NotNull Map<String, Validator> validatorsById;
focal_class.type: Map<String, Validator>
focal_class.var_name: validatorsById
focal_class.declarator: log = LoggerFactory.getLogger(ValidationExecutor.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger log = LoggerFactory.getLogger(ValidationExecutor.class);
focal_class.type: Logger
focal_class.var_name: log
focal_class.file: vault-validation/src/main/java/org/apache/jackrabbit/vault/validation/ValidationExecutor.java
focal_class.identifier: ValidationExecutor
focal_class.class_method_signature: ValidationExecutor.ValidationExecutor(@NotNull Map<String, Validator> validatorsById)
focal_class.full_signature: public  ValidationExecutor(@NotNull Map<String, Validator> validatorsById)
focal_class.identifier: ValidationExecutor
focal_class.modifiers: public
focal_class.parameters: (@NotNull Map<String, Validator> validatorsById)
focal_class.signature:  ValidationExecutor(@NotNull Map<String, Validator> validatorsById)
focal_class.class_method_signature: ValidationExecutor.getAllValidatorsById()
focal_class.full_signature: public @NotNull Map<String, Validator> getAllValidatorsById()
focal_class.identifier: getAllValidatorsById
focal_class.modifiers: public @NotNull
focal_class.parameters: ()
focal_class.return: Map<String, Validator>
focal_class.signature: Map<String, Validator> getAllValidatorsById()
focal_class.class_method_signature: ValidationExecutor.getUnusedValidatorsById()
focal_class.full_signature: public @NotNull Map<String, Validator> getUnusedValidatorsById()
focal_class.identifier: getUnusedValidatorsById
focal_class.modifiers: public @NotNull
focal_class.parameters: ()
focal_class.return: Map<String, Validator>
focal_class.signature: Map<String, Validator> getUnusedValidatorsById()
focal_class.class_method_signature: ValidationExecutor.validateMetaInf(@Nullable InputStream input, @NotNull Path filePath, @NotNull Path basePath)
focal_class.full_signature: public @NotNull Collection<ValidationViolation> validateMetaInf(@Nullable InputStream input, @NotNull Path filePath, @NotNull Path basePath)
focal_class.identifier: validateMetaInf
focal_class.modifiers: public @NotNull
focal_class.parameters: (@Nullable InputStream input, @NotNull Path filePath, @NotNull Path basePath)
focal_class.return: Collection<ValidationViolation>
focal_class.signature: Collection<ValidationViolation> validateMetaInf(@Nullable InputStream input, @NotNull Path filePath, @NotNull Path basePath)
focal_class.class_method_signature: ValidationExecutor.validateJcrRoot(@Nullable InputStream input, @NotNull Path filePath, @NotNull Path basePath)
focal_class.full_signature: public @NotNull Collection<ValidationViolation> validateJcrRoot(@Nullable InputStream input, @NotNull Path filePath, @NotNull Path basePath)
focal_class.identifier: validateJcrRoot
focal_class.modifiers: public @NotNull
focal_class.parameters: (@Nullable InputStream input, @NotNull Path filePath, @NotNull Path basePath)
focal_class.return: Collection<ValidationViolation>
focal_class.signature: Collection<ValidationViolation> validateJcrRoot(@Nullable InputStream input, @NotNull Path filePath, @NotNull Path basePath)
focal_class.class_method_signature: ValidationExecutor.done()
focal_class.full_signature: public @NotNull Collection<ValidationViolation> done()
focal_class.identifier: done
focal_class.modifiers: public @NotNull
focal_class.parameters: ()
focal_class.return: Collection<ValidationViolation>
focal_class.signature: Collection<ValidationViolation> done()
focal_class.class_method_signature: ValidationExecutor.validateNodePaths(Path filePath, Path basePath, Map<String, Integer> nodePathsAndLineNumbers)
focal_class.full_signature: private Collection<ValidationViolation> validateNodePaths(Path filePath, Path basePath, Map<String, Integer> nodePathsAndLineNumbers)
focal_class.identifier: validateNodePaths
focal_class.modifiers: private
focal_class.parameters: (Path filePath, Path basePath, Map<String, Integer> nodePathsAndLineNumbers)
focal_class.return: Collection<ValidationViolation>
focal_class.signature: Collection<ValidationViolation> validateNodePaths(Path filePath, Path basePath, Map<String, Integer> nodePathsAndLineNumbers)
focal_class.class_method_signature: ValidationExecutor.validateGenericMetaInfData(@Nullable InputStream input, @NotNull Path filePath, @NotNull Path basePath)
focal_class.full_signature: private Collection<ValidationViolation> validateGenericMetaInfData(@Nullable InputStream input, @NotNull Path filePath, @NotNull Path basePath)
focal_class.identifier: validateGenericMetaInfData
focal_class.modifiers: private
focal_class.parameters: (@Nullable InputStream input, @NotNull Path filePath, @NotNull Path basePath)
focal_class.return: Collection<ValidationViolation>
focal_class.signature: Collection<ValidationViolation> validateGenericMetaInfData(@Nullable InputStream input, @NotNull Path filePath, @NotNull Path basePath)
focal_class.class_method_signature: ValidationExecutor.validateGenericJcrData(@Nullable InputStream input, @NotNull Path filePath, @NotNull Path basePath)
focal_class.full_signature: private Collection<ValidationViolation> validateGenericJcrData(@Nullable InputStream input, @NotNull Path filePath, @NotNull Path basePath)
focal_class.identifier: validateGenericJcrData
focal_class.modifiers: private
focal_class.parameters: (@Nullable InputStream input, @NotNull Path filePath, @NotNull Path basePath)
focal_class.return: Collection<ValidationViolation>
focal_class.signature: Collection<ValidationViolation> validateGenericJcrData(@Nullable InputStream input, @NotNull Path filePath, @NotNull Path basePath)
focal_class.class_method_signature: ValidationExecutor.filePathToNodePath(@NotNull Path filePath)
focal_class.full_signature: public static @NotNull String filePathToNodePath(@NotNull Path filePath)
focal_class.identifier: filePathToNodePath
focal_class.modifiers: public static @NotNull
focal_class.parameters: (@NotNull Path filePath)
focal_class.return: String
focal_class.signature: String filePathToNodePath(@NotNull Path filePath)
focal_class.class_method_signature: ValidationExecutor.filterValidatorsByClass(Map<String, Validator> allValidators, Class<T> type)
focal_class.full_signature: static Map<String, T> filterValidatorsByClass(Map<String, Validator> allValidators, Class<T> type)
focal_class.identifier: filterValidatorsByClass
focal_class.modifiers: static
focal_class.parameters: (Map<String, Validator> allValidators, Class<T> type)
focal_class.return: Map<String, T>
focal_class.signature: Map<String, T> filterValidatorsByClass(Map<String, Validator> allValidators, Class<T> type)
focal_method.body: public static @NotNull String filePathToNodePath(@NotNull Path filePath) {
          String platformPath = FilenameUtils.separatorsToUnix(filePath.toString());
          String repositoryPath = PlatformNameFormat.getRepositoryPath(platformPath, true);
          if (!repositoryPath.isEmpty()) {
              // make repository path absolute by prefixing it with "/" in case it is not the root node path itself
              repositoryPath = "/" + repositoryPath;
          }
          return repositoryPath;
      }
focal_method.class_method_signature: ValidationExecutor.filePathToNodePath(@NotNull Path filePath)
focal_method.full_signature: public static @NotNull String filePathToNodePath(@NotNull Path filePath)
focal_method.identifier: filePathToNodePath
focal_method.invocations: separatorsToUnix toString getRepositoryPath isEmpty
focal_method.modifiers: public static @NotNull
focal_method.parameters: (@NotNull Path filePath)
focal_method.return: String
focal_method.signature: String filePathToNodePath(@NotNull Path filePath)