@Beta public class FlowRuleIntent extends Intent
Intent.BuilderDEFAULT_INTENT_PRIORITY, MAX_PRIORITY, MIN_PRIORITY| Modifier | Constructor and Description |
|---|---|
protected |
FlowRuleIntent()
Constructor for serializer.
|
|
FlowRuleIntent(ApplicationId appId,
Key key,
Collection<FlowRule> flowRules,
Collection<NetworkResource> resources)
Creates an flow rule intent with the specified key, flow rules to be set, and
required network resources.
|
|
FlowRuleIntent(ApplicationId appId,
List<FlowRule> flowRules)
Deprecated.
in Cardinal Release
|
|
FlowRuleIntent(ApplicationId appId,
List<FlowRule> flowRules,
Collection<NetworkResource> resources)
Creates a flow rule intent with the specified flow rules and resources.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<FlowRule> |
flowRules()
Returns a collection of flow rules to be set.
|
boolean |
isInstallable()
Indicates whether or not the intent is installable.
|
String |
toString() |
appId, bindIdGenerator, equals, hashCode, id, key, priority, resources, unbindIdGenerator@Deprecated public FlowRuleIntent(ApplicationId appId, List<FlowRule> flowRules)
appId - application idflowRules - flow rules to be set.public FlowRuleIntent(ApplicationId appId, List<FlowRule> flowRules, Collection<NetworkResource> resources)
appId - application idflowRules - flow rules to be setresources - network resource to be setpublic FlowRuleIntent(ApplicationId appId, Key key, Collection<FlowRule> flowRules, Collection<NetworkResource> resources)
appId - application idkey - keyflowRules - flow rulesresources - network resourcesprotected FlowRuleIntent()
public Collection<FlowRule> flowRules()
public boolean isInstallable()
IntentisInstallable in class IntentCopyright © 2015. All rights reserved.