| Package | Description |
|---|---|
| org.jboss.hal.core | |
| org.jboss.hal.dmr | |
| org.jboss.hal.dmr.dispatch |
| Modifier and Type | Method and Description |
|---|---|
Composite |
OperationFactory.fromChangeSet(ResourceAddress address,
Map<String,Object> changeSet,
Metadata metadata)
Turns a change-set into a composite operation containing write-attribute
and undefine-attribute
operations.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CrudOperations.save(Composite operations,
com.google.gwt.safehtml.shared.SafeHtml successMessage,
Callback callback)
Writes the changed values to the specified resource.
|
void |
CrudOperations.save(String type,
String name,
Composite operations,
Callback callback)
Writes the changed values to the specified resource.
|
void |
PropertiesOperations.saveWithProperties(String type,
String name,
ResourceAddress address,
Composite operations,
String psr,
Map<String,String> properties,
Callback callback)
Saves the changed values and its properties (if modified) to the specified resource.
|
| Modifier and Type | Method and Description |
|---|---|
Composite |
Composite.add(Operation operation)
Adds the specified operation to this composite.
|
Composite |
Composite.addHeader(String name,
boolean value) |
Composite |
Composite.addHeader(String name,
String value) |
Composite |
Composite.runAs(Set<String> runAs) |
| Modifier and Type | Method and Description |
|---|---|
rx.Single<CompositeResult> |
Dispatcher.execute(Composite operations) |
void |
Dispatcher.execute(Composite operations,
Consumer<CompositeResult> success) |
void |
Dispatcher.execute(Composite operations,
Consumer<CompositeResult> success,
Dispatcher.OnFail fail) |
void |
Dispatcher.execute(Composite operations,
Consumer<CompositeResult> success,
Dispatcher.OnFail fail,
Dispatcher.OnError error) |
void |
Dispatcher.jsExecuteComposite(Composite composite,
Dispatcher.JsCompositeCallback callback)
Executes the specified composite operation.
|
static rx.Completable |
TimeoutHandler.repeatCompositeUntil(Dispatcher dispatcher,
int timeout,
Composite composite,
@Nullable Predicate<CompositeResult> until)
Executes the composite operation until the operation successfully returns and the precondition is met.
|
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.