org.cloudfoundry.client.lib
Interface UploadStatusCallback


public interface UploadStatusCallback

Reports status information when uploading an application.


Field Summary
static UploadStatusCallback NONE
          Empty implementation
 
Method Summary
 void onCheckResources()
          Called after the /resources call is made.
 void onMatchedFileNames(Set<String> matchedFileNames)
          Called after the files to be uploaded have been identified.
 void onProcessMatchedResources(int length)
          Called after the data to be uploaded has been processed
 

Field Detail

NONE

static final UploadStatusCallback NONE
Empty implementation

Method Detail

onCheckResources

void onCheckResources()
Called after the /resources call is made.


onMatchedFileNames

void onMatchedFileNames(Set<String> matchedFileNames)
Called after the files to be uploaded have been identified.

Parameters:
matchedFileNames - the files to be uploaded

onProcessMatchedResources

void onProcessMatchedResources(int length)
Called after the data to be uploaded has been processed

Parameters:
length - the size of the upload data (before compression)


Copyright © 2013. All rights reserved.