Class MissingManagerResource
java.lang.Object
com.janeirodigital.shapetrees.core.resources.InstanceResource
com.janeirodigital.shapetrees.core.resources.ManagerResource
com.janeirodigital.shapetrees.core.resources.MissingManagerResource
A MissingManagerResource represents a state where a given
ManagerResource at a URL does not exist.
-
Constructor Summary
ConstructorsConstructorDescriptionMissingManagerResource(MissingManageableResource manageable, URL managedUrl) Construct a missing manager resource based on a MissingManageableResourceMissingManagerResource(URL url, ShapeTreeResourceType resourceType, ResourceAttributes attributes, String body, String name, URL managedResourceUrl) Construct a missing manager resource. -
Method Summary
Methods inherited from class com.janeirodigital.shapetrees.core.resources.ManagerResource
getManagedResourceUrl, getManagerMethods inherited from class com.janeirodigital.shapetrees.core.resources.InstanceResource
getAttributes, getBody, getGraph, getName, getResourceType, getUrl, isExists
-
Constructor Details
-
MissingManagerResource
Construct a missing manager resource based on a MissingManageableResource- Parameters:
manageable- Missing manageable resourcemanagedUrl- Corresponding URL of the resource that would be managed
-
MissingManagerResource
public MissingManagerResource(URL url, ShapeTreeResourceType resourceType, ResourceAttributes attributes, String body, String name, URL managedResourceUrl) Construct a missing manager resource.- Parameters:
url- URL of the resourceresourceType- Identified shape tree resource typeattributes- Associated resource attributesbody- Body of the resourcename- Name of the resourcemanagedResourceUrl- URL of the resource that would be managed
-