public final class FlowObjectiveIntent extends Intent
Intent.Builder
DEFAULT_INTENT_PRIORITY, MAX_PRIORITY, MIN_PRIORITY
Modifier | Constructor and Description |
---|---|
protected |
FlowObjectiveIntent()
Constructor for serialization.
|
|
FlowObjectiveIntent(ApplicationId appId,
Key key,
List<DeviceId> devices,
List<Objective> objectives,
Collection<NetworkResource> resources,
ResourceGroup resourceGroup)
Creates a flow objective intent with the specified objectives and
resources.
|
Modifier and Type | Method and Description |
---|---|
List<DeviceId> |
devices()
Returns the list of devices for the flow objectives.
|
boolean |
isInstallable()
Indicates whether or not the intent is installable.
|
List<Objective> |
objectives()
Returns the collection of backing flow objectives.
|
String |
toString() |
appId, bindIdGenerator, equals, hashCode, id, key, priority, resourceGroup, resources, unbindIdGenerator
protected FlowObjectiveIntent()
public FlowObjectiveIntent(ApplicationId appId, Key key, List<DeviceId> devices, List<Objective> objectives, Collection<NetworkResource> resources, ResourceGroup resourceGroup)
appId
- application idkey
- intent keydevices
- list of target devices; in same order as the objectivesobjectives
- backing flow objectivesresources
- backing network resourcesresourceGroup
- resource goup for this intentpublic List<Objective> objectives()
public List<DeviceId> devices()
public boolean isInstallable()
Intent
isInstallable
in class Intent