Uses of Interface
com.janeirodigital.shapetrees.core.resources.ResourceAccessor
Packages that use ResourceAccessor
Package
Description
Implementation of
client-side
shape tree validation using the OkHttp HTTP client for Java.
-
Uses of ResourceAccessor in com.janeirodigital.shapetrees.client.okhttp
Classes in com.janeirodigital.shapetrees.client.okhttp that implement ResourceAccessorModifier and TypeClassDescriptionclass
Allows theshapetrees-core
to accessManageableInstance
s andInstanceResource
s over the network via HTTP.Fields in com.janeirodigital.shapetrees.client.okhttp declared as ResourceAccessorModifier and TypeFieldDescriptionprotected final ResourceAccessor
OkHttpValidatingMethodHandler.resourceAccessor
Constructors in com.janeirodigital.shapetrees.client.okhttp with parameters of type ResourceAccessorModifierConstructorDescriptionprotected
OkHttpValidatingMethodHandler
(ResourceAccessor resourceAccessor) protected
protected
protected
-
Uses of ResourceAccessor in com.janeirodigital.shapetrees.core.resources
Methods in com.janeirodigital.shapetrees.core.resources that return ResourceAccessorMethods in com.janeirodigital.shapetrees.core.resources with parameters of type ResourceAccessorModifier and TypeMethodDescriptionstatic ManageableInstance
ManageableInstance.createInstanceResource
(ResourceAccessor accessor, ShapeTreeContext context, URL resourceUrl, ResourceAttributes headers, String body, String contentType) Creates the resource identified by the providedresourceUrl
and gets a correspondingManageableInstance
.static ManageableInstance
ManageableInstance.getInstance
(ResourceAccessor accessor, ShapeTreeContext context, URL resourceUrl) Return aManageableInstance
constructed starting with the resource identified by the providedresourceUrl
. -
Uses of ResourceAccessor in com.janeirodigital.shapetrees.core.validation
Methods in com.janeirodigital.shapetrees.core.validation with parameters of type ResourceAccessorModifier and TypeMethodDescriptionstatic ValidationResult
ShapeTreeRequestProcessor.assign
(ResourceAccessor accessor, ManageableInstance manageableInstance, ShapeTreeContext shapeTreeContext, ShapeTreeManager rootManager, ShapeTreeAssignment rootAssignment, ShapeTreeAssignment parentAssignment, ValidationResult advanceValidationResult) static ShapeTreeAssignment
ShapeTreeRequestProcessor.getRootAssignment
(ResourceAccessor accessor, ShapeTreeContext shapeTreeContext, ShapeTreeAssignment assignment) static ValidationResult
ShapeTreeRequestProcessor.plant
(ResourceAccessor accessor, ManageableInstance manageableInstance, ShapeTreeContext shapeTreeContext, ShapeTreeManager updatedRootManager, ShapeTreeManagerDelta delta) Plants a shape tree on an existing resourcestatic ValidationResult
ShapeTreeRequestProcessor.unassign
(ResourceAccessor accessor, ManageableInstance manageableInstance, ShapeTreeContext shapeTreeContext, ShapeTreeAssignment rootAssignment) static ValidationResult
ShapeTreeRequestProcessor.unplant
(ResourceAccessor accessor, ManageableInstance manageableInstance, ShapeTreeContext shapeTreeContext, ShapeTreeManagerDelta delta) static ValidationResult
ShapeTreeRequestProcessor.updateManager
(ResourceAccessor accessor, ManageableInstance manageableInstance, ShapeTreeRequest shapeTreeRequest) static ContainingValidationResult
ShapeTreeRequestProcessor.validateCreate
(ResourceAccessor accessor, ManageableInstance targetInstance, ManageableInstance parentContainer, ShapeTreeRequest shapeTreeRequest, String proposedName) static ValidationResult
ShapeTreeRequestProcessor.validateUpdate
(ResourceAccessor accessor, ManageableInstance targetInstance, ShapeTreeRequest shapeTreeRequest)