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

  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 Details

  - ### MoveFileAction

    public MoveFileAction()

- ## Method Details

  - ### 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`