@Beta
public final class IntentOperation
extends java.lang.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(java.lang.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.
|
java.lang.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()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object