public final class FlowObjectiveIntent extends Intent
Intent.BuilderDEFAULT_INTENT_PRIORITY, MAX_PRIORITY, MIN_PRIORITY| Modifier | Constructor and Description |
|---|---|
protected |
FlowObjectiveIntent()
Constructor for serialization.
|
|
FlowObjectiveIntent(ApplicationId appId,
Key key,
java.util.List<DeviceId> devices,
java.util.List<Objective> objectives,
java.util.Collection<NetworkResource> resources)
Deprecated.
1.9.1
|
|
FlowObjectiveIntent(ApplicationId appId,
Key key,
java.util.List<DeviceId> devices,
java.util.List<Objective> objectives,
java.util.Collection<NetworkResource> resources,
ResourceGroup resourceGroup)
Creates a flow objective intent with the specified objectives and
resources.
|
|
FlowObjectiveIntent(ApplicationId appId,
java.util.List<DeviceId> devices,
java.util.List<Objective> objectives,
java.util.Collection<NetworkResource> resources)
Deprecated.
1.9.1
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<DeviceId> |
devices()
Returns the list of devices for the flow objectives.
|
boolean |
isInstallable()
Indicates whether or not the intent is installable.
|
java.util.List<Objective> |
objectives()
Returns the collection of backing flow objectives.
|
java.lang.String |
toString() |
appId, bindIdGenerator, equals, hashCode, id, key, priority, resourceGroup, resources, unbindIdGeneratorprotected FlowObjectiveIntent()
@Deprecated public FlowObjectiveIntent(ApplicationId appId, java.util.List<DeviceId> devices, java.util.List<Objective> objectives, java.util.Collection<NetworkResource> resources)
appId - application iddevices - list of target devices; in same order as the objectivesobjectives - backing flow objectivesresources - backing network resources@Deprecated public FlowObjectiveIntent(ApplicationId appId, Key key, java.util.List<DeviceId> devices, java.util.List<Objective> objectives, java.util.Collection<NetworkResource> resources)
appId - application idkey - intent keydevices - list of target devices; in same order as the objectivesobjectives - backing flow objectivesresources - backing network resourcespublic FlowObjectiveIntent(ApplicationId appId, Key key, java.util.List<DeviceId> devices, java.util.List<Objective> objectives, java.util.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 java.util.List<Objective> objectives()
public java.util.List<DeviceId> devices()
public boolean isInstallable()
IntentisInstallable in class Intentpublic java.lang.String toString()
toString in class java.lang.Object