Module com.esri.arcgisruntime
Package com.esri.arcgisruntime.data
Class Geodatabase.TransactionStatusChangedEvent<S extends Geodatabase>
java.lang.Object
java.util.EventObject
com.esri.arcgisruntime.data.Geodatabase.TransactionStatusChangedEvent<S>
- All Implemented Interfaces:
Serializable
- Enclosing class:
Geodatabase
public static final class Geodatabase.TransactionStatusChangedEvent<S extends Geodatabase>
extends EventObject
An event indicating that the transaction status has changed.
- Since:
- 100.2.0
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionTransactionStatusChangedEvent
(S source, boolean isInTransaction) Constructs a TransactionStatusChangedEvent object. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets whether a transaction is active.Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
TransactionStatusChangedEvent
Constructs a TransactionStatusChangedEvent object.- Parameters:
source
- the Geodatabase object on which the event initially occurredisInTransaction
- indicating whether a transaction is active- Throws:
IllegalArgumentException
- if source is null.- Since:
- 100.2.0
-
-
Method Details
-
isInTransaction
public boolean isInTransaction()Gets whether a transaction is active.- Returns:
- true if a transaction is active, otherwise false
- Since:
- 100.2.0
-