Package io.apicurio.registry.maven.refs
Class IndexedResource
java.lang.Object
io.apicurio.registry.maven.refs.IndexedResource
-
Constructor Summary
ConstructorsConstructorDescriptionIndexedResource
(Path path, String type, String resourceName, io.apicurio.registry.content.ContentHandle content) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionio.apicurio.registry.content.ContentHandle
getPath()
io.apicurio.registry.rest.client.models.VersionMetaData
getType()
boolean
boolean
void
setRegistration
(io.apicurio.registry.rest.client.models.VersionMetaData registration)
-
Constructor Details
-
Method Details
-
getContent
public io.apicurio.registry.content.ContentHandle getContent()- Returns:
- the content
-
getType
- Returns:
- the type
-
getResourceName
- Returns:
- the resourceName
-
getPath
- Returns:
- the path
-
matches
-
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()
-