# Class: SelectionMode

## tibco.objectapi.de.SelectionMode

#### new SelectionMode()

Method used to select a resource from an identified collection of resources. Constructs a new SelectionMode.

The following features are supported:

- `Method`
- `Plugin`

### Members

#### method :tibco.objectapi.de.AllocationMethod

Algorithm used to select a resource. One of: - ANY: use random selection. - NEXT: use iterative selection. - THIS: use the specifically identified resource. - PLUGIN: use the named plugin code (where the name is given separately) to perform the selection. This property holds the value of the 'Method' attribute.

##### Type:

- tibco.objectapi.de.AllocationMethod

#### plugin :string

Name of plugin. This property holds the value of the 'Plugin' attribute.

##### Type:

- string