Class RelocationAction

  • All Implemented Interfaces:
    Action, ModelObject, IconSpec, org.kohsuke.stapler.StaplerFallback

    public class RelocationAction
    extends Object
    implements Action, org.kohsuke.stapler.StaplerFallback, IconSpec
    Does the actual work of relocating an item.
    • Field Detail

      • RELOCATE

        public static final Permission RELOCATE
        The permission required to move an item.
    • Constructor Detail

      • RelocationAction

        public RelocationAction​(@NonNull
                                Item item)
        Creates an instance of this action.
        item - the item that would be moved.
      • RelocationAction

        public RelocationAction​(@NonNull
                                Item item,
                                RelocationUI ui)
    • Method Detail

      • getItem

        public Item getItem()
        Gets the item that would be moved.
        the item that would be moved.
      • getUi

        public RelocationUI getUi()
        Getter for the UI to display in this action.
        the UI to display in this action or null if not supported.
      • getStaplerFallback

        public Object getStaplerFallback()
        Specified by:
        getStaplerFallback in interface org.kohsuke.stapler.StaplerFallback