Class SchemaProvider
java.lang.Object
com.redhat.devtools.intellij.common.validation.SchemaProvider
- All Implemented Interfaces:
com.jetbrains.jsonSchema.extension.JsonSchemaFileProvider
public class SchemaProvider
extends Object
implements com.jetbrains.jsonSchema.extension.JsonSchemaFileProvider
-
Constructor Summary
ConstructorsConstructorDescriptionSchemaProvider(KubernetesTypeInfo info, com.intellij.openapi.vfs.VirtualFile file) -
Method Summary
Modifier and TypeMethodDescription@NotNull StringgetName()@Nullable com.intellij.openapi.vfs.VirtualFile@NotNull com.jetbrains.jsonSchema.extension.SchemaTypebooleanisAvailable(@NotNull com.intellij.openapi.vfs.VirtualFile file) withProject(com.intellij.openapi.project.Project project) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.jetbrains.jsonSchema.extension.JsonSchemaFileProvider
getPresentableName, getRemoteSource, getSchemaVersion, getThirdPartyApiInformation, isUserVisible
-
Constructor Details
-
SchemaProvider
-
-
Method Details
-
isAvailable
public boolean isAvailable(@NotNull @NotNull com.intellij.openapi.vfs.VirtualFile file) - Specified by:
isAvailablein interfacecom.jetbrains.jsonSchema.extension.JsonSchemaFileProvider
-
getName
- Specified by:
getNamein interfacecom.jetbrains.jsonSchema.extension.JsonSchemaFileProvider
-
getSchemaFile
@Nullable public @Nullable com.intellij.openapi.vfs.VirtualFile getSchemaFile()- Specified by:
getSchemaFilein interfacecom.jetbrains.jsonSchema.extension.JsonSchemaFileProvider
-
getSchemaType
@NotNull public @NotNull com.jetbrains.jsonSchema.extension.SchemaType getSchemaType()- Specified by:
getSchemaTypein interfacecom.jetbrains.jsonSchema.extension.JsonSchemaFileProvider
-
withProject
-