Class VisionTemplateAdapter

    • Constructor Detail

      • VisionTemplateAdapter

        public VisionTemplateAdapter()
    • Method Detail

      • getResourceDir

        public java.nio.file.Path getResourceDir​(java.lang.String projectName)
        Description copied from interface: ResourceTypeAdapter
        Returns the path to the resource directory for the resource being adapted.

        The default implementation is a simple Path with one component: the value of ResourceTypeAdapter.getNewResourceType().

        Custom implementations should may provide additional components but must begin with ResourceTypeAdapter.getNewResourceType().

        Most types won't care about projectName, but if this is called during a project import or upgrade from a legacy (<= 7.9), projectName may be important.

        Parameters:
        projectName - the name of the project the resource being adapted belongs to.