Class DefaultResourceActions.Move

java.lang.Object
com.inductiveautomation.ignition.gateway.config.actions.DefaultResourceActions.Move
All Implemented Interfaces:
ResourceAction, ResourceAction.Move
Enclosing class:
DefaultResourceActions

public static final class DefaultResourceActions.Move extends Object implements ResourceAction.Move
  • Constructor Details

    • Move

      public Move()
  • Method Details

    • move

      @NotNull public @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)
      Description copied from interface: ResourceAction.Move
      Moves a resource from one location to another.
      Specified by:
      move in interface ResourceAction.Move
      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.