Package org.apache.storm.hdfs.common.rotation

## Class MoveFileAction

- java.lang.Object
- - org.apache.storm.hdfs.common.rotation.MoveFileAction

- All Implemented Interfaces:
    `Serializable`, `RotationAction`

      public class MoveFileAction
      extends Object
      implements RotationAction

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `MoveFileAction()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `execute​(org.apache.hadoop.fs.FileSystem fileSystem, org.apache.hadoop.fs.Path filePath)` |
    `MoveFileAction` | `toDestination​(String destDir)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MoveFileAction

          public MoveFileAction()

  - ### Method Detail

    - #### toDestination

          public MoveFileAction toDestination​(String destDir)

    - #### execute

          public void execute​(org.apache.hadoop.fs.FileSystem fileSystem,
                              org.apache.hadoop.fs.Path filePath)
                       throws IOException

      Specified by:
        `execute` in interface `RotationAction`
      Throws:
        `IOException`