Class AWS::SimpleWorkflow::TypeCollection
In: lib/aws/simple_workflow/type_collection.rb
Parent: Object

The base class for {WorkflowTypeCollection} and {ActivityTypeCollection}. @private

Methods

Included Modules

OptionFormatters Core::Collection::Limitable

Attributes

domain  [R]  @return [Domain]

Public Class methods

@param [Domain] The domain the (workflow or activity types belong to.

Public Instance methods

Returns the type with the given name and version.

  # get a workflow type
  domain.workflow_types['name','version']
  domain.workflow_types.at('name','version')

  # get an activity type
  domain.activity_types['name','version']
  domain.activity_types.at('name','version')

@param [String] Name of the type.

@param [String] Version of the type.

@return [ActivityType,WorkflowType]

at(name, version)

Alias for #[]

create()

Alias for register

@return [TypeCollection] Returns a collection that

  will only enumerate deprecated types.

@return [TypeCollection] Returns a collection that

  enumerates types with the given name.  Each instance
  will have a different version.

@return [TypeCollection] Returns a collection that

  enumerates types in reverse alphabetical order.  Default
  ordering is alphabetical.

Protected Instance methods

[Validate]