Uses of Class
com.janeirodigital.shapetrees.core.resources.ManageableInstance
Packages that use ManageableInstance
Package
Description
Implementation of
client-side
shape tree validation using the OkHttp HTTP client for Java.
-
Uses of ManageableInstance in com.janeirodigital.shapetrees.client.okhttp
Methods in com.janeirodigital.shapetrees.client.okhttp with parameters of type ManageableInstanceModifier and TypeMethodDescriptionprotected abstract Optional<okhttp3.Response>
OkHttpValidatingMethodHandler.validateRequest
(okhttp3.Request nativeRequest, ShapeTreeRequest shapeTreeRequest, ShapeTreeContext shapeTreeContext, ManageableInstance requestInstance) protected Optional<okhttp3.Response>
OkHttpValidatingPatchMethodHandler.validateRequest
(okhttp3.Request nativeRequest, ShapeTreeRequest shapeTreeRequest, ShapeTreeContext shapeTreeContext, ManageableInstance targetInstance) protected Optional<okhttp3.Response>
OkHttpValidatingPostMethodHandler.validateRequest
(okhttp3.Request nativeRequest, ShapeTreeRequest shapeTreeRequest, ShapeTreeContext shapeTreeContext, ManageableInstance targetInstance) protected Optional<okhttp3.Response>
OkHttpValidatingPutMethodHandler.validateRequest
(okhttp3.Request nativeRequest, ShapeTreeRequest shapeTreeRequest, ShapeTreeContext shapeTreeContext, ManageableInstance targetInstance) -
Uses of ManageableInstance in com.janeirodigital.shapetrees.core.comparators
Methods in com.janeirodigital.shapetrees.core.comparators with parameters of type ManageableInstanceModifier and TypeMethodDescriptionint
ResourceTypeAssignmentPriority.compare
(ManageableInstance a, ManageableInstance b) -
Uses of ManageableInstance in com.janeirodigital.shapetrees.core.resources
Methods in com.janeirodigital.shapetrees.core.resources that return ManageableInstanceModifier 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
.static ManageableInstance
ManageableInstance.reloadInstance
(ManageableInstance originalInstance) Return a new version of providedManageableInstance
originalInstance
Methods in com.janeirodigital.shapetrees.core.resources that return types with arguments of type ManageableInstanceModifier and TypeMethodDescriptionManageableInstance.getContainedInstances()
Gets a list ofManageableInstance
s contained in a managed resource that is a container.Methods in com.janeirodigital.shapetrees.core.resources with parameters of type ManageableInstanceModifier and TypeMethodDescriptionstatic ManageableInstance
ManageableInstance.reloadInstance
(ManageableInstance originalInstance) Return a new version of providedManageableInstance
originalInstance
-
Uses of ManageableInstance in com.janeirodigital.shapetrees.core.validation
Methods in com.janeirodigital.shapetrees.core.validation with parameters of type ManageableInstanceModifier and TypeMethodDescriptionstatic ValidationResult
ShapeTreeRequestProcessor.assign
(ResourceAccessor accessor, ManageableInstance manageableInstance, ShapeTreeContext shapeTreeContext, ShapeTreeManager rootManager, ShapeTreeAssignment rootAssignment, ShapeTreeAssignment parentAssignment, ValidationResult advanceValidationResult) 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)