Interface ConfigurableElement

All Known Subinterfaces:
ClientSslContext, CredentialStore, HttpAuthenticationFactory, HttpsListener, KeyManager, KeyStore, PermissionMapper, RoleMapper, SaslAuthenticationFactory, SaslServerFactory, SecurityDomain, SecurityRealm, ServerSslContext, TrustManager, UsersAttributeValuesCapableElement
All Known Implementing Classes:
AbstractConfigurableElement, AbstractConstantHelper, AbstractUserAttributeValuesCapableElement, AggregateSecurityRealm, ClientCertUndertowDomainMapper, ConcatenatingPrincipalDecoder, ConstantPermissionMapper, ConstantPrincipalDecoder, ConstantPrincipalTransformer, ConstantRealmMapper, ConstantRoleMapper, CustomPrincipalTransformer, DirContext, DistributedRealm, EJBApplicationSecurityDomainMapping, FailoverRealm, FileAuditLog, FileSystemRealm, JdbcSecurityRealm, KeyStoreRealm, LdapRealm, MappedRegexRealmMapper, MessagingElytronDomainConfigurator, Module, PropertiesRealm, PropertyFileAuthzBasedDomain, PropertyFileBasedDomain, RegexPrincipalTransformer, SimpleAuthConfig, SimpleAuthContext, SimpleClientSslContext, SimpleConfigurableSaslServerFactory, SimpleCredentialStore, SimpleHttpAuthenticationFactory, SimpleHttpsListener, SimpleKeyManager, SimpleKeyStore, SimplePermissionMapper, SimpleRemotingConnector, SimpleSaslAuthenticationFactory, SimpleSecurityDomain, SimpleServerSslContext, SimpleSocketBinding, SimpleTrustManager, SyslogAuditLog, TokenRealm, UndertowApplicationSecurityDomain, UndertowDomainMapper, UndertowSslContext, X500AttributePrincipalDecoder

public interface ConfigurableElement
Interface representing a configurable object in domain model. The implementation has to override at least one of the create(...) methods and one of the remove(...) methods.
Author:
Josef Cacek
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    create(org.jboss.as.controller.client.ModelControllerClient client, org.jboss.as.test.integration.management.util.CLIWrapper cli)
    Creates this element in domain model and it also may create other resources if needed (e.g. external files).
    default void
    create(org.jboss.as.test.integration.management.util.CLIWrapper cli)
    Creates this element in domain model and also creates other resources if needed (e.g. external files)
    Returns name of this element.
    default void
    remove(org.jboss.as.controller.client.ModelControllerClient client, org.jboss.as.test.integration.management.util.CLIWrapper cli)
    Reverts the changes introdued by create(...) method(s).
    default void
    remove(org.jboss.as.test.integration.management.util.CLIWrapper cli)
    Reverts the changes introdued by create(...) method(s).
  • Method Details

    • getName

      String getName()
      Returns name of this element.
    • create

      default void create(org.jboss.as.test.integration.management.util.CLIWrapper cli) throws Exception
      Creates this element in domain model and also creates other resources if needed (e.g. external files)
      Parameters:
      cli - connected CLIWrapper instance
      Throws:
      Exception
    • create

      default void create(org.jboss.as.controller.client.ModelControllerClient client, org.jboss.as.test.integration.management.util.CLIWrapper cli) throws Exception
      Creates this element in domain model and it also may create other resources if needed (e.g. external files). Implementation can choose if controller client is used or provided CLI wrapper.
      Throws:
      Exception
    • remove

      default void remove(org.jboss.as.test.integration.management.util.CLIWrapper cli) throws Exception
      Reverts the changes introdued by create(...) method(s).
      Throws:
      Exception
    • remove

      default void remove(org.jboss.as.controller.client.ModelControllerClient client, org.jboss.as.test.integration.management.util.CLIWrapper cli) throws Exception
      Reverts the changes introdued by create(...) method(s).
      Throws:
      Exception