Package org.onosproject.net.domain
Class DomainIntentOperation
- java.lang.Object
-
- org.onosproject.net.domain.DomainIntentOperation
-
public class DomainIntentOperation extends Object
Representation of an intent operation on a network domain.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DomainIntentOperation.Type
Type of domain intent operations.
-
Constructor Summary
Constructors Constructor Description DomainIntentOperation(DomainIntent intent, DomainIntentOperation.Type type)
Creates a domain intent operation using the supplied information.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DomainIntent
intent()
Returns the domain intent.String
toString()
DomainIntentOperation.Type
type()
Returns the type of operation.
-
-
-
Constructor Detail
-
DomainIntentOperation
public DomainIntentOperation(DomainIntent intent, DomainIntentOperation.Type type)
Creates a domain intent operation using the supplied information.- Parameters:
intent
- the domain intenttype
- the operation type
-
-
Method Detail
-
type
public DomainIntentOperation.Type type()
Returns the type of operation.- Returns:
- type
-
intent
public DomainIntent intent()
Returns the domain intent.- Returns:
- domain intent
-
-