Class: JFlow::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/jflow/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



6
7
8
9
10
11
12
13
# File 'lib/jflow/configuration.rb', line 6

def initialize
  @swf_client        = nil
  @cloudwatch_client = nil
  @load_paths        = []
  @logger            = Logger.new(STDOUT)
  @activity_map      = JFlow::Activity::Map.new
  @error_handlers    = []
end

Instance Attribute Details

#activity_mapObject

Returns the value of attribute activity_map.



4
5
6
# File 'lib/jflow/configuration.rb', line 4

def activity_map
  @activity_map
end

#cloudwatch_clientObject

Returns the value of attribute cloudwatch_client.



4
5
6
# File 'lib/jflow/configuration.rb', line 4

def cloudwatch_client
  @cloudwatch_client
end

#error_handlersObject

Returns the value of attribute error_handlers.



4
5
6
# File 'lib/jflow/configuration.rb', line 4

def error_handlers
  @error_handlers
end

#load_pathsObject

Returns the value of attribute load_paths.



4
5
6
# File 'lib/jflow/configuration.rb', line 4

def load_paths
  @load_paths
end

#loggerObject

Returns the value of attribute logger.



4
5
6
# File 'lib/jflow/configuration.rb', line 4

def logger
  @logger
end

#swf_clientObject

Returns the value of attribute swf_client.



4
5
6
# File 'lib/jflow/configuration.rb', line 4

def swf_client
  @swf_client
end