Class SchemaProvider

  • All Implemented Interfaces:
    com.jetbrains.jsonSchema.extension.JsonSchemaFileProvider

    public class SchemaProvider
    extends java.lang.Object
    implements com.jetbrains.jsonSchema.extension.JsonSchemaFileProvider
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @NotNull java.lang.String getName()  
      @Nullable com.intellij.openapi.vfs.VirtualFile getSchemaFile()  
      @NotNull com.jetbrains.jsonSchema.extension.SchemaType getSchemaType()  
      boolean isAvailable​(@NotNull com.intellij.openapi.vfs.VirtualFile file)  
      SchemaProvider withProject​(com.intellij.openapi.project.Project project)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.jetbrains.jsonSchema.extension.JsonSchemaFileProvider

        getPresentableName, getRemoteSource, getSchemaVersion, getThirdPartyApiInformation, isUserVisible
    • Constructor Detail

      • SchemaProvider

        public SchemaProvider​(KubernetesTypeInfo info,
                              com.intellij.openapi.vfs.VirtualFile file)
    • Method Detail

      • isAvailable

        public boolean isAvailable​(@NotNull
                                   @NotNull com.intellij.openapi.vfs.VirtualFile file)
        Specified by:
        isAvailable in interface com.jetbrains.jsonSchema.extension.JsonSchemaFileProvider
      • getName

        @NotNull
        public @NotNull java.lang.String getName()
        Specified by:
        getName in interface com.jetbrains.jsonSchema.extension.JsonSchemaFileProvider
      • getSchemaFile

        @Nullable
        public @Nullable com.intellij.openapi.vfs.VirtualFile getSchemaFile()
        Specified by:
        getSchemaFile in interface com.jetbrains.jsonSchema.extension.JsonSchemaFileProvider
      • getSchemaType

        @NotNull
        public @NotNull com.jetbrains.jsonSchema.extension.SchemaType getSchemaType()
        Specified by:
        getSchemaType in interface com.jetbrains.jsonSchema.extension.JsonSchemaFileProvider
      • withProject

        public SchemaProvider withProject​(com.intellij.openapi.project.Project project)