Class MissingManageableResource
java.lang.Object
com.janeirodigital.shapetrees.core.resources.InstanceResource
com.janeirodigital.shapetrees.core.resources.ManageableResource
com.janeirodigital.shapetrees.core.resources.MissingManageableResource
A MissingManageableResource represents a state where a given
ManageableResource at a URL does not exist.
-
Constructor Summary
ConstructorsConstructorDescriptionMissingManageableResource
(URL url, ShapeTreeResourceType resourceType, ResourceAttributes attributes, String body, String name, Optional<URL> managerResourceUrl) Construct a missing manageable resource. -
Method Summary
Methods inherited from class com.janeirodigital.shapetrees.core.resources.ManageableResource
getManagerResourceUrl, isContainer
Methods inherited from class com.janeirodigital.shapetrees.core.resources.InstanceResource
getAttributes, getBody, getGraph, getName, getResourceType, getUrl, isExists
-
Constructor Details
-
MissingManageableResource
public MissingManageableResource(URL url, ShapeTreeResourceType resourceType, ResourceAttributes attributes, String body, String name, Optional<URL> managerResourceUrl) Construct a missing manageable resource.- Parameters:
url
- URL of the resourceresourceType
- Identified shape tree resource typeattributes
- Associated resource attributesbody
- Body of the resourcename
- Name of the resourcemanagerResourceUrl
- URL of the shape tree manager resource
-