@Beta public class IntentDomain extends Object
Constructor and Description |
---|
IntentDomain(IntentDomainId id,
String name,
Set<DeviceId> internalDevices,
Set<ConnectPoint> edgePorts) |
Modifier and Type | Method and Description |
---|---|
Set<ConnectPoint> |
edgePorts()
Returns the set of edge ports for the intent domain.
|
IntentDomainId |
id()
Returns the id for the intent domain.
|
Set<DeviceId> |
internalDevices()
Returns the set of internal devices for the intent domain (devices under
exclusive control of the intent domain).
|
boolean |
isActive()
Returns the status of the intent domain.
|
String |
name()
Returns the friendly name for the intent domain.
|
IntentDomainProvider |
provider()
Returns the provider for the intent domain.
|
void |
setProvider(IntentDomainProvider provider)
Sets the provider for the intent domain if one is not already set.
|
void |
unsetProvider()
Unsets the provider for the intent domain.
|
public IntentDomain(IntentDomainId id, String name, Set<DeviceId> internalDevices, Set<ConnectPoint> edgePorts)
public IntentDomainId id()
public String name()
public Set<DeviceId> internalDevices()
public Set<ConnectPoint> edgePorts()
public IntentDomainProvider provider()
public boolean isActive()
public void setProvider(IntentDomainProvider provider)
provider
- new intent domain providerpublic void unsetProvider()