Class PutFileAction

    • Constructor Summary

      Constructors 
      Constructor Description
      PutFileAction​(org.bitrepository.modify.putfile.PutFileClient client, java.lang.String collectionID, java.io.File targetFile, java.lang.String fileID)
      Constructor to instantiate the put-file action
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean actionIsSuccess()  
      void performAction()
      Method to perform the implemented action
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PutFileAction

        public PutFileAction​(org.bitrepository.modify.putfile.PutFileClient client,
                             java.lang.String collectionID,
                             java.io.File targetFile,
                             java.lang.String fileID)
        Constructor to instantiate the put-file action
        Parameters:
        client - The client to perform the action on
        collectionID - The ID of a known collection to put the file in
        targetFile - The File to put in the bitrepository
        fileID - ID for the targetFile to have in the bitrepository once it's been uploaded