org.wildfly.extras.creaper.commands.elytron
Class AbstractAddCustom

java.lang.Object
  extended by org.wildfly.extras.creaper.commands.elytron.AbstractAddCustom
All Implemented Interfaces:
Command, OfflineCommand, OnlineCommand
Direct Known Subclasses:
AddCustomCredentialSecurityFactory, AddCustomModifiableRealm, AddCustomPermissionMapper, AddCustomPrincipalDecoder, AddCustomPrincipalTransformer, AddCustomRealm, AddCustomRealmMapper, AddCustomRoleDecoder, AddCustomRoleMapper

public abstract class AbstractAddCustom
extends Object
implements OnlineCommand, OfflineCommand


Nested Class Summary
protected static class AbstractAddCustom.Builder<T extends AbstractAddCustom.Builder>
           
 
Field Summary
 
Fields inherited from interface org.wildfly.extras.creaper.core.online.OnlineCommand
NOOP
 
Fields inherited from interface org.wildfly.extras.creaper.core.offline.OfflineCommand
NOOP
 
Constructor Summary
protected AbstractAddCustom(AbstractAddCustom.Builder<? extends AbstractAddCustom.Builder> builder)
           
 
Method Summary
 void apply(OfflineCommandContext ctx)
           
 void apply(OnlineCommandContext ctx)
           
protected abstract  String getCustomTypeName()
           
protected abstract  GroovyXmlTransform.Builder getGroovyBuilder()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.wildfly.extras.creaper.core.online.OnlineCommand
toString
 
Methods inherited from interface org.wildfly.extras.creaper.core.offline.OfflineCommand
toString
 

Constructor Detail

AbstractAddCustom

protected AbstractAddCustom(AbstractAddCustom.Builder<? extends AbstractAddCustom.Builder> builder)
Method Detail

apply

public final void apply(OnlineCommandContext ctx)
                 throws Exception
Specified by:
apply in interface OnlineCommand
Throws:
Exception

apply

public final void apply(OfflineCommandContext ctx)
                 throws Exception
Specified by:
apply in interface OfflineCommand
Throws:
Exception

getGroovyBuilder

protected abstract GroovyXmlTransform.Builder getGroovyBuilder()

getCustomTypeName

protected abstract String getCustomTypeName()


Copyright © 2020. All rights reserved.