Class TestModule
java.lang.Object
net.shibboleth.idp.installer.plugin.impl.TestModule
- All Implemented Interfaces:
IdPModule,net.shibboleth.profile.module.Module,Component,IdentifiedComponent
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.shibboleth.profile.module.Module
net.shibboleth.profile.module.Module.ModuleResource, net.shibboleth.profile.module.Module.ResourceResult -
Field Summary
FieldsModifier and TypeFieldDescription(package private) boolean(package private) final String(package private) final net.shibboleth.profile.module.ModuleException(package private) final net.shibboleth.profile.module.ModuleExceptionFields inherited from interface net.shibboleth.idp.module.IdPModule
IDPNEW_EXT_BASE, IDPSAVE_EXT -
Constructor Summary
ConstructorsConstructorDescriptionTestModule(String name, net.shibboleth.profile.module.ModuleException enable, net.shibboleth.profile.module.ModuleException disable) -
Method Summary
Modifier and TypeMethodDescriptionMap<net.shibboleth.profile.module.Module.ModuleResource,net.shibboleth.profile.module.Module.ResourceResult> disable(net.shibboleth.profile.module.ModuleContext moduleContext, boolean clean) Map<net.shibboleth.profile.module.Module.ModuleResource,net.shibboleth.profile.module.Module.ResourceResult> enable(net.shibboleth.profile.module.ModuleContext moduleContext) getDescription(net.shibboleth.profile.module.ModuleContext moduleContext) getId()getName(net.shibboleth.profile.module.ModuleContext moduleContext) Collection<net.shibboleth.profile.module.Module.ModuleResource>getURL()booleanisEnabled(net.shibboleth.profile.module.ModuleContext moduleContext) booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.shibboleth.idp.module.IdPModule
getNewExtension, getSaveExtension
-
Field Details
-
throwOnEnable
@Nullable final net.shibboleth.profile.module.ModuleException throwOnEnable -
throwOnDisable
@Nullable final net.shibboleth.profile.module.ModuleException throwOnDisable -
id
-
enabled
boolean enabled
-
-
Constructor Details
-
TestModule
public TestModule(@Nonnull String name, net.shibboleth.profile.module.ModuleException enable, net.shibboleth.profile.module.ModuleException disable)
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceIdentifiedComponent
-
getName
- Specified by:
getNamein interfacenet.shibboleth.profile.module.Module
-
getDescription
- Specified by:
getDescriptionin interfacenet.shibboleth.profile.module.Module
-
getURL
- Specified by:
getURLin interfacenet.shibboleth.profile.module.Module
-
getOwnerId
- Specified by:
getOwnerIdin interfacenet.shibboleth.profile.module.Module
-
isHttpClientRequired
public boolean isHttpClientRequired()- Specified by:
isHttpClientRequiredin interfacenet.shibboleth.profile.module.Module
-
getResources
- Specified by:
getResourcesin interfacenet.shibboleth.profile.module.Module
-
isEnabled
public boolean isEnabled(@Nonnull net.shibboleth.profile.module.ModuleContext moduleContext) - Specified by:
isEnabledin interfacenet.shibboleth.profile.module.Module
-
enable
@Nonnull public Map<net.shibboleth.profile.module.Module.ModuleResource,net.shibboleth.profile.module.Module.ResourceResult> enable(@Nonnull net.shibboleth.profile.module.ModuleContext moduleContext) throws net.shibboleth.profile.module.ModuleException - Specified by:
enablein interfacenet.shibboleth.profile.module.Module- Throws:
net.shibboleth.profile.module.ModuleException
-
disable
@Nonnull public Map<net.shibboleth.profile.module.Module.ModuleResource,net.shibboleth.profile.module.Module.ResourceResult> disable(@Nonnull net.shibboleth.profile.module.ModuleContext moduleContext, boolean clean) throws net.shibboleth.profile.module.ModuleException - Specified by:
disablein interfacenet.shibboleth.profile.module.Module- Throws:
net.shibboleth.profile.module.ModuleException
-