Class: UU::AppLog::ApplicationLog::ApplicationLogAttributes

Inherits:
OS::REST::DTO
  • Object
show all
Defined in:
uu_applog-0.27.16/lib/uu/applog/application_log/application_log_attributes.rb

Overview

DTO containing attributes of a existing application log.

Instance Attribute Summary (collapse)

Method Summary

Methods inherited from OS::REST::DTO

#initialize, #to_hash, #to_json

Constructor Details

This class inherits a constructor from UU::OS::REST::DTO

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class UU::OS::REST::DTO

Instance Attribute Details

- (String) code

Code of the new application log. When nil is set, the code is generated automatically using the application sequence. The code must be unique in the given territory, otherwise the create command fails.

Parameters:

  • (String)

Returns:

  • (String)


25
26
27
# File 'uu_applog-0.27.16/lib/uu/applog/application_log/application_log_attributes.rb', line 25

def code
  @code
end

- (String) description

Description of the new application log. When nil is set, the description is taken from the meta artifact tDescription. When the meta artifact does not define a tDescription, it is left empty.

Parameters:

  • (String)

Returns:

  • (String)


39
40
41
# File 'uu_applog-0.27.16/lib/uu/applog/application_log/application_log_attributes.rb', line 39

def description
  @description
end

- (String) logging_severity

Severity of records (value from Severity) to store in the application log. If severity of a particular application log record is equal or higher than this severity, the record is stored, otherwise it is thrown away.

Parameters:

  • (String)

Returns:

  • (String)


47
48
49
# File 'uu_applog-0.27.16/lib/uu/applog/application_log/application_log_attributes.rb', line 47

def logging_severity
  @logging_severity
end

- (String) name

Name of the new application log. When nil is set, the name is taken from the meta artifact tName. When the meta artifact does not define a tName, the create command fails.

Parameters:

  • (String)

Returns:

  • (String)


32
33
34
# File 'uu_applog-0.27.16/lib/uu/applog/application_log/application_log_attributes.rb', line 32

def name
  @name
end

- (UU::OS::UESURI) uri

URI of the application log.

Parameters:

Returns:



13
14
15
# File 'uu_applog-0.27.16/lib/uu/applog/application_log/application_log_attributes.rb', line 13

def uri
  @uri
end

- (UU::OS::UESURI) uu_app_uri

URI of the application using application log.

Parameters:

Returns:



18
19
20
# File 'uu_applog-0.27.16/lib/uu/applog/application_log/application_log_attributes.rb', line 18

def uu_app_uri
  @uu_app_uri
end