public class ServerProvider extends Object implements ProfileServerProvider
| Constructor and Description |
|---|
ServerProvider() |
| Modifier and Type | Method and Description |
|---|---|
ProfileServer |
createProfile(String profile,
Map environment)
Create a new profile.
|
public ProfileServer createProfile(String profile, Map environment) throws ProfileProviderException
ProfileServerProviderCreate a new profile. Each successful call to this method
produces a different ProfileServer object.
createProfile in interface ProfileServerProviderprofile - the name of the profile to be created.environment - a read-only Map containing named attributes
to determine how the profile is created. Keys in this map must
be Strings. The appropriate type of each associated value
depends on the attribute.ProfileServer representing the new profile.
Each successful call to this method produces a different object.ProfileProviderExceptionCopyright © 2019 Terracotta, Inc.. All rights reserved.