org.kitesdk.data.filesystem
Class FileSystemMetadataProvider.Builder

java.lang.Object
  extended by org.kitesdk.data.filesystem.FileSystemMetadataProvider.Builder
Enclosing class:
FileSystemMetadataProvider

public static class FileSystemMetadataProvider.Builder
extends Object

A fluent builder to aid in the construction of FileSystemMetadataProvider instances.

Since:
0.8.0

Constructor Summary
FileSystemMetadataProvider.Builder()
           
 
Method Summary
 FileSystemMetadataProvider build()
          Build an instance of the configured FileSystemMetadataProvider.
 FileSystemMetadataProvider.Builder configuration(Configuration configuration)
          The Configuration used to find the FileSystem.
 FileSystemMetadataProvider.Builder rootDirectory(Path path)
          The root directory for metadata files.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileSystemMetadataProvider.Builder

public FileSystemMetadataProvider.Builder()
Method Detail

rootDirectory

public FileSystemMetadataProvider.Builder rootDirectory(Path path)
The root directory for metadata files.

Parameters:
path - a Path to a FileSystem location
Returns:
this Builder for method chaining.

configuration

public FileSystemMetadataProvider.Builder configuration(Configuration configuration)
The Configuration used to find the FileSystem.


build

public FileSystemMetadataProvider build()
Build an instance of the configured FileSystemMetadataProvider.

Since:
0.9.0


Copyright © 2013–2014. All rights reserved.