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

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

Methods

Included Modules

OptionFormatters Core::Collection::WithLimitAndNextToken

Attributes

domain  [R]  @return [Domain]

Public Class methods

@param [Domain] 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 Name of the type.

@param [String] version 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]