addActiveProfile abstract method

void addActiveProfile(
  1. String profile
)

Adds an additional active profile to the current set.

This can be used to programmatically enrich the environment at runtime.

Example:

env.addActiveProfile('integration-test');

Implementation

void addActiveProfile(String profile);