Class: ApplicationModule
- Inherits:
-
Object
- Object
- ApplicationModule
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/application_deployment_model_types.rb
Overview
Application Module Information. A module has to be registered before registering a deployment.
appModuleId: Airavata Internal Unique Job ID. This is set by the registry.
appModuleName:
Name of the application module.
appModuleVersion:
Version of the application.
appModuleDescription:
Descriprion of the Module
Constant Summary collapse
- APPMODULEID =
1
- APPMODULENAME =
2
- APPMODULEVERSION =
3
- APPMODULEDESCRIPTION =
4
- FIELDS =
{ APPMODULEID => {:type => ::Thrift::Types::STRING, :name => 'appModuleId', :default => %q"DO_NOT_SET_AT_CLIENTS"}, APPMODULENAME => {:type => ::Thrift::Types::STRING, :name => 'appModuleName'}, APPMODULEVERSION => {:type => ::Thrift::Types::STRING, :name => 'appModuleVersion', :optional => true}, APPMODULEDESCRIPTION => {:type => ::Thrift::Types::STRING, :name => 'appModuleDescription', :optional => true} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
97 |
# File 'lib/application_deployment_model_types.rb', line 97 def struct_fields; FIELDS; end |
#validate ⇒ Object
99 100 101 102 |
# File 'lib/application_deployment_model_types.rb', line 99 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field appModuleId is unset!') unless @appModuleId raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field appModuleName is unset!') unless @appModuleName end |