Package com.splunk.shuttl.archiver.importexport

Examples of com.splunk.shuttl.archiver.importexport.GetsBucketsExportFile


   * @return a CsvExporter
   */
  public static BucketToCsvFileExporter create(
      LocalFileSystemPaths localFileSystemPaths) {
    return new BucketToCsvFileExporter(new SplunkExportTool(),
        new GetsBucketsExportFile(localFileSystemPaths),
        ShellExecutor.getInstance());
  }
View Full Code Here


  }

  public static CreatesBucketTgz create(
      LocalFileSystemPaths localFileSystemPaths) {
    return new CreatesBucketTgz(ShellExecutor.getInstance(),
        new GetsBucketsExportFile(localFileSystemPaths));
  }
View Full Code Here

  private GetsBucketsExportFile getsBucketsExportFile;
  private Bucket bucket;

  @BeforeMethod
  public void setUp() {
    getsBucketsExportFile = new GetsBucketsExportFile(new LocalFileSystemPaths(
        createDirectory()));
    bucket = TUtilsBucket.createBucket();
  }
View Full Code Here

@Test(groups = { "slow-unit" })
public class CreatesBucketTgzIntegrationTest {

  public void _usingRealClasses_tgzBucketFileExists() {
    CreatesBucketTgz createsBucketTgz = new CreatesBucketTgz(
        ShellExecutor.getInstance(), new GetsBucketsExportFile(
            new LocalFileSystemPaths(createDirectory())));

    LocalBucket bucket = TUtilsBucket.createBucket();
    File tgz = createsBucketTgz.createTgz(bucket);
    assertTrue(tgz.exists());
View Full Code Here

TOP

Related Classes of com.splunk.shuttl.archiver.importexport.GetsBucketsExportFile

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.