Class DefaultResourceActions.Rename

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

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

    • Rename

      public Rename()
  • Method Details

    • rename

      @NotNull public @NotNull StructuralModificationResponse rename(ConfigurationManager manager, ResourceType resourceType, String name, String newName, ReferenceHandling referenceHandling, @Nullable @Nullable String collection, ResourceAction.ContextObject contextObject)
      Description copied from interface: ResourceAction.Rename
      Renames a named resource.
      Specified by:
      rename in interface ResourceAction.Rename
      Parameters:
      manager - The configuration manager to use for renaming the resource.
      resourceType - The type of the resource to rename.
      name - The current name of the resource.
      newName - The new name for the resource.
      referenceHandling - How to handle references to the renamed resource.
      collection - The collection in which the resource resides, if applicable.
      contextObject - The context object to associated with the change.
      Returns:
      A response indicating the result of the rename operation.