Class: Filbunke::Repository

Inherits:
Object
  • Object
show all
Defined in:
lib/filbunke/repository.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, host, port, local_path, file_umask, directory_umask, user = nil, pass = nil, hadoop_binary = nil) ⇒ Repository

Returns a new instance of Repository.



6
7
8
9
10
11
12
13
14
15
16
# File 'lib/filbunke/repository.rb', line 6

def initialize(name, host, port, local_path, file_umask, directory_umask, user = nil, pass = nil, hadoop_binary = nil)
  @name = name
  @host = host
  @port = port
  @local_path = local_path
  @file_umask = file_umask
  @directory_umask = directory_umask
  @user = user
  @pass = pass
  @hadoop_binary = hadoop_binary
end

Instance Attribute Details

#directory_umaskObject

Returns the value of attribute directory_umask.



4
5
6
# File 'lib/filbunke/repository.rb', line 4

def directory_umask
  @directory_umask
end

#file_umaskObject

Returns the value of attribute file_umask.



4
5
6
# File 'lib/filbunke/repository.rb', line 4

def file_umask
  @file_umask
end

#hadoop_binaryObject

Returns the value of attribute hadoop_binary.



4
5
6
# File 'lib/filbunke/repository.rb', line 4

def hadoop_binary
  @hadoop_binary
end

#hostObject

Returns the value of attribute host.



4
5
6
# File 'lib/filbunke/repository.rb', line 4

def host
  @host
end

#local_pathObject

Returns the value of attribute local_path.



4
5
6
# File 'lib/filbunke/repository.rb', line 4

def local_path
  @local_path
end

#nameObject

Returns the value of attribute name.



4
5
6
# File 'lib/filbunke/repository.rb', line 4

def name
  @name
end

#passObject

Returns the value of attribute pass.



4
5
6
# File 'lib/filbunke/repository.rb', line 4

def pass
  @pass
end

#portObject

Returns the value of attribute port.



4
5
6
# File 'lib/filbunke/repository.rb', line 4

def port
  @port
end

#userObject

Returns the value of attribute user.



4
5
6
# File 'lib/filbunke/repository.rb', line 4

def user
  @user
end