@Beta
public class IntentDomain
extends java.lang.Object
Constructor and Description |
---|
IntentDomain(IntentDomainId id,
java.lang.String name,
java.util.Set<DeviceId> internalDevices,
java.util.Set<ConnectPoint> edgePorts) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<ConnectPoint> |
edgePorts()
Returns the set of edge ports for the intent domain.
|
IntentDomainId |
id()
Returns the id for the intent domain.
|
java.util.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.
|
java.lang.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, java.lang.String name, java.util.Set<DeviceId> internalDevices, java.util.Set<ConnectPoint> edgePorts)
public IntentDomainId id()
public java.lang.String name()
public java.util.Set<DeviceId> internalDevices()
public java.util.Set<ConnectPoint> edgePorts()
public IntentDomainProvider provider()
public boolean isActive()
public void setProvider(IntentDomainProvider provider)
provider
- new intent domain providerpublic void unsetProvider()