public class CredentialReference extends Object
credential-reference complex attribute used in several
resources across subsystems.| Modifier and Type | Class and Description |
|---|---|
static class |
CredentialReference.AlternativeValidation<T extends ModelNode>
Form validation which validates that only one of
credential-reference and <alternativeName> is
given. |
| Constructor and Description |
|---|
CredentialReference(com.google.web.bindery.event.shared.EventBus eventBus,
Dispatcher dispatcher,
ComplexAttributeOperations ca,
Resources resources) |
| Modifier and Type | Method and Description |
|---|---|
Form<ModelNode> |
form(String baseId,
Metadata metadata,
String crName,
String alternativeName,
Supplier<String> alternativeValue,
Supplier<ResourceAddress> address,
Callback callback)
Creates a form for the
credential-reference complex attribute of a resource. |
Form<ModelNode> |
form(String baseId,
Metadata metadata,
String alternativeName,
Supplier<String> alternativeValue,
Supplier<ResourceAddress> address,
Callback callback)
Creates a form for the
credential-reference complex attribute of a resource. |
@Inject
public CredentialReference(com.google.web.bindery.event.shared.EventBus eventBus,
Dispatcher dispatcher,
ComplexAttributeOperations ca,
Resources resources)
public Form<ModelNode> form(String baseId, Metadata metadata, String alternativeName, Supplier<String> alternativeValue, Supplier<ResourceAddress> address, Callback callback)
credential-reference complex attribute of a resource. The form is setup as a
singleton form to add, save, reset and remove the complex attribute.baseId - base ID used for the generated form and add resource dialogmetadata - the metadata of the resource which contains the credential-reference
attributealternativeName - the name of the alternative attributealternativeValue - the value of the alternative attributeaddress - the fully qualified address of the resource used for the CRUD actionscallback - the callback executed after the credential-reference attributes has been added,
saved, reset or removedpublic Form<ModelNode> form(String baseId, Metadata metadata, String crName, String alternativeName, Supplier<String> alternativeValue, Supplier<ResourceAddress> address, Callback callback)
credential-reference complex attribute of a resource. The form is setup as a
singleton form to add, save, reset and remove the complex attribute.baseId - base ID used for the generated form and add resource dialogmetadata - the metadata of the resource which contains the credential-reference
attributecrName - the name of the credential-reference complex attributealternativeName - the name of the alternative attributealternativeValue - the value of the alternative attributeaddress - the fully qualified address of the resource used for the CRUD actionscallback - the callback executed after the credential-reference attributes has been added,
saved, reset or removedCopyright © 2018 JBoss, a division of Red Hat. All rights reserved.