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.

@FunctionalInterface public static non-sealed interface ResourceAction.Move extends ResourceAction
  • 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.