@Beta public final class IntentOperation extends Object
Modifier and Type | Class and Description |
---|---|
static class |
IntentOperation.Type
Operation type.
|
Constructor and Description |
---|
IntentOperation(IntentOperation.Type type,
Intent intent)
Creates an intent operation.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
Intent |
intent()
Returns the intent to which this operation applied.
|
IntentId |
intentId()
Returns the identifier of the intent to which this operation applies.
|
Key |
key()
Returns the key for this intent.
|
String |
toString() |
IntentOperation.Type |
type()
Returns the type of the operation.
|
public IntentOperation(IntentOperation.Type type, Intent intent)
type
- operation typeintent
- intent subjectpublic IntentOperation.Type type()
public IntentId intentId()
public Key key()
public Intent intent()