public final class ImportResult extends Object
| Constructor and Description |
|---|
ImportResult(LocalTransaction transaction,
SubordinateTransactionControl control,
boolean isNew)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
SubordinateTransactionControl |
getControl()
Get the subordinate controller.
|
LocalTransaction |
getTransaction()
Get the transaction.
|
boolean |
isNew()
Determine whether this import resulted in a new transaction.
|
public ImportResult(LocalTransaction transaction, SubordinateTransactionControl control, boolean isNew)
transaction - the new transaction (must not be null)control - the controller for the subordinate transaction (must not be null)isNew - true if the transaction was just now imported, false if the transaction already existedpublic LocalTransaction getTransaction()
null)public SubordinateTransactionControl getControl()
null)public boolean isNew()
true if the transaction was new, false otherwiseCopyright © 2016 JBoss by Red Hat. All rights reserved.