Class IndexedResource

java.lang.Object
io.apicurio.registry.maven.refs.IndexedResource

public class IndexedResource extends Object
  • Constructor Details

    • IndexedResource

      public IndexedResource(Path path, String type, String resourceName, io.apicurio.registry.content.ContentHandle content)
      Constructor.
      Parameters:
      path -
      type -
      resourceName -
      content -
  • Method Details

    • getContent

      public io.apicurio.registry.content.ContentHandle getContent()
      Returns:
      the content
    • getType

      public String getType()
      Returns:
      the type
    • getResourceName

      public String getResourceName()
      Returns:
      the resourceName
    • getPath

      public Path getPath()
      Returns:
      the path
    • matches

      public boolean matches(String resourceName, Path relativeToFile, Set<Path> schemaPaths)
    • getRegistration

      public io.apicurio.registry.rest.client.models.VersionMetaData getRegistration()
      Returns:
      the registration
    • setRegistration

      public void setRegistration(io.apicurio.registry.rest.client.models.VersionMetaData registration)
      Parameters:
      registration - the registration to set
    • isRegistered

      public boolean isRegistered()