| Package | Description |
|---|---|
| org.jboss.hal.core | |
| org.jboss.hal.core.finder | |
| org.jboss.hal.core.mbui.form | |
| org.jboss.hal.dmr | |
| org.jboss.hal.dmr.dispatch | |
| org.jboss.hal.dmr.macro |
| Modifier and Type | Method and Description |
|---|---|
void |
CrudOperations.addSingleton(String type,
Operation operation,
CrudOperations.AddSingletonCallback callback)
Executes the specified add operation.
|
| Constructor and Description |
|---|
ResourceDescriptionPreview(String header,
Dispatcher dispatcher,
Operation rrd) |
| Modifier and Type | Method and Description |
|---|---|
ModelNodeForm.Builder<T> |
ModelNodeForm.Builder.singleton(Supplier<Operation> ping,
Callback addAction)
Use this method if you want to manage a singleton resource.
|
ModelNodeForm.Builder<T> |
ModelNodeForm.Builder.singleton(Supplier<Operation> ping,
EmptyState emptyState)
Use this method if you want to manage a singleton resource.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Composite
Represents a composite operation consisting of n
Operations. |
| Modifier and Type | Method and Description |
|---|---|
Operation |
Operation.Builder.build() |
Operation[] |
Composite.jsOperations() |
Operation |
Operation.runAs(Set<String> runAs) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Operation> |
Composite.iterator() |
| Modifier and Type | Method and Description |
|---|---|
Composite |
Composite.add(Operation operation)
Adds the specified operation to this composite.
|
| Constructor and Description |
|---|
Composite(Operation first,
Operation... rest) |
Composite(Operation first,
Operation... rest) |
| Constructor and Description |
|---|
Composite(List<Operation> operations) |
| Modifier and Type | Method and Description |
|---|---|
Operation |
DispatchFailure.getOperation() |
Operation |
DispatchError.getOperation() |
| Modifier and Type | Method and Description |
|---|---|
void |
Dispatcher.download(Operation operation,
Consumer<String> success) |
String |
Dispatcher.downloadUrl(Operation operation) |
rx.Single<ModelNode> |
Dispatcher.execute(Operation operation) |
void |
Dispatcher.execute(Operation operation,
Consumer<ModelNode> success) |
void |
Dispatcher.execute(Operation operation,
Consumer<ModelNode> success,
Dispatcher.OnFail fail) |
void |
Dispatcher.execute(Operation operation,
Consumer<ModelNode> success,
Dispatcher.OnFail fail,
Dispatcher.OnError error) |
void |
Dispatcher.executeDMR(Operation operation,
Consumer<ModelNode> success,
Dispatcher.OnFail fail,
Dispatcher.OnError error)
Executes the operation and upon sucessfull result calls the success function with the response results,
but doesn't retrieve the "result" payload as the other execute methods does.
|
void |
Dispatcher.jsExecute(Operation operation,
Dispatcher.JsOperationCallback callback)
Executes the specified operation.
|
void |
Dispatcher.OnError.onException(Operation operation,
Throwable exception) |
void |
Dispatcher.OnFail.onFailed(Operation operation,
String failure) |
static rx.Completable |
TimeoutHandler.repeatOperationUntil(Dispatcher dispatcher,
int timeout,
Operation operation,
@Nullable Predicate<ModelNode> until)
Executes the operation until the operation successfully returns and the precondition is met.
|
static rx.Completable |
TimeoutHandler.repeatUntilTimeout(Dispatcher dispatcher,
int timeout,
Operation operation)
Executes the operation until it successfully returns.
|
rx.Single<ModelNode> |
Dispatcher.upload(elemental2.dom.File file,
Operation operation) |
void |
Dispatcher.upload(elemental2.dom.File file,
Operation operation,
Consumer<ModelNode> success) |
| Constructor and Description |
|---|
DispatchError(int statusCode,
String message,
Operation operation) |
DispatchError(Throwable throwable,
Operation operation) |
DispatchFailure(String message,
Operation operation) |
| Modifier and Type | Method and Description |
|---|---|
Operation |
MacroOperationEvent.getOperation() |
| Modifier and Type | Method and Description |
|---|---|
List<Operation> |
Macro.getOperations() |
| Modifier and Type | Method and Description |
|---|---|
void |
Macro.addOperation(Operation operation) |
static void |
MacroOperationEvent.fire(com.google.gwt.event.shared.HasHandlers source,
Macro macro,
Operation operation) |
| Constructor and Description |
|---|
MacroOperationEvent(Macro macro,
Operation operation) |
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.