Method: FcrepoWrapper::Instance#initialize

Defined in:
lib/fcrepo_wrapper/instance.rb

#initialize(options = {}) ⇒ Instance

Returns a new instance of Instance.

Parameters:

  • options (Hash) (defaults to: {})

Options Hash (options):

  • :url (String)
  • :instance_dir (String)

    Directory to store the fcrepo index files

  • :version (String)

    Fcrepo version to download and install

  • :port (String)

    port to run fcrepo on

  • :version_file (String)

    Local path to store the currently installed version

  • :download_dir (String)

    Local directory to store the downloaded fcrepo jar and its md5 file in (overridden by :download_path)

  • :download_path (String)

    Local path for storing the downloaded fcrepo jar file

  • :validate (Boolean)

    Should fcrepo_wrapper download a new md5 and (re-)false the zip file? (default: trueF)

  • :md5sum (String)

    Path/URL to MD5 checksum

  • :verbose (Boolean)

    return verbose info when running fcrepo commands

  • :ignore_md5sum (Boolean)
  • :fcrepo_options (Hash)
  • :env (Hash)


31
32
33
# File 'lib/fcrepo_wrapper/instance.rb', line 31

def initialize(options = {})
  @config = Settings.new(Configuration.new(options))
end