Interface ResourceAction.Move
- All Superinterfaces:
ResourceAction
- All Known Implementing Classes:
DefaultResourceActions.Move
- Enclosing interface:
- ResourceAction
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.inductiveautomation.ignition.gateway.config.actions.ResourceAction
ResourceAction.ContextObject, ResourceAction.Copy, ResourceAction.Create, ResourceAction.CreateRequest, ResourceAction.Delete, ResourceAction.DeleteRequest, ResourceAction.ListResources, ResourceAction.Modify, ResourceAction.ModifyRequest, ResourceAction.Move, ResourceAction.Read, ResourceAction.Rename
-
Method Summary
Modifier and TypeMethodDescription@NotNull StructuralModificationResponse
move
(ConfigurationManager manager, ResourceType resourceType, @Nullable String fromName, @Nullable String toName, @Nullable String fromCollection, @Nullable String toCollection, ImmutableBytes signature, ResourceAction.ContextObject contextObject) Moves a resource from one location to another.
-
Method Details
-
move
@NotNull @NotNull StructuralModificationResponse move(ConfigurationManager manager, ResourceType resourceType, @Nullable @Nullable String fromName, @Nullable @Nullable String toName, @Nullable @Nullable String fromCollection, @Nullable @Nullable String toCollection, ImmutableBytes signature, ResourceAction.ContextObject contextObject) Moves a resource from one location to another.- Parameters:
manager
- The configuration manager to use for moving the resource.resourceType
- The type of the resource to move.fromName
- The name of the resource to move from.toName
- The name of the resource to move to.fromCollection
- The collection in which the source resource resides, if applicable.toCollection
- The collection in which the destination resource will reside, if applicable.signature
- The signature of the resource being moved.contextObject
- The context object to associated with the change.- Returns:
- A response indicating the result of the move operation.
-