Package net.shibboleth.idp.module.impl
Class ModuleManagerArguments
java.lang.Object
net.shibboleth.ext.spring.cli.AbstractCommandLineArguments
net.shibboleth.idp.cli.AbstractIdPHomeAwareCommandLineArguments
net.shibboleth.idp.module.impl.ModuleManagerArguments
- All Implemented Interfaces:
CommandLineArguments
public class ModuleManagerArguments extends AbstractIdPHomeAwareCommandLineArguments
Arguments for
IdPModule
management CLI.-
Field Summary
Fields Modifier and Type Field Description private boolean
clean
Clean when disabling.private List<String>
disableModuleIds
ID of module(s) to enable.private List<String>
enableModuleIds
ID of module(s) to enable.private List<String>
infoModuleIds
Detailed info about installed module(s).private boolean
list
Brief info about installed modules.private org.slf4j.Logger
log
Logger.private List<String>
testModuleIds
Test status of installed module(s). -
Constructor Summary
Constructors Constructor Description ModuleManagerArguments()
-
Method Summary
Modifier and Type Method Description boolean
getClean()
Are we disabling with the clean option?Collection<String>
getDisableModuleIds()
Gets the module ID(s) to disable.Collection<String>
getEnableModuleIds()
Gets the module ID(s) to enable.Collection<String>
getInfoModuleIds()
Gets the module ID(s) to report on.boolean
getList()
Are we doing a list?org.slf4j.Logger
getLog()
Collection<String>
getTestModuleIds()
Gets the module ID(s) to test.void
printHelp(PrintStream out)
void
validate()
Methods inherited from class net.shibboleth.idp.cli.AbstractIdPHomeAwareCommandLineArguments
getHttpClientName, getHttpClientSecurityParameterstName, getIdPHome, setHttpClientName
Methods inherited from class net.shibboleth.ext.spring.cli.AbstractCommandLineArguments
getLanguageRanges, getLoggingConfiguration, getOtherArgs, getPropertyFiles, isANSI, isHelp, isQuietOutput, isVerboseOutput, isVersion
-
Field Details
-
log
@Nullable private org.slf4j.Logger logLogger. -
list
@Nullable private boolean listBrief info about installed modules. -
infoModuleIds
Detailed info about installed module(s). -
testModuleIds
Test status of installed module(s). -
enableModuleIds
ID of module(s) to enable. -
disableModuleIds
ID of module(s) to enable. -
clean
@Nullable private boolean cleanClean when disabling.
-
-
Constructor Details
-
ModuleManagerArguments
public ModuleManagerArguments()
-
-
Method Details
-
getLog
@Nonnull public org.slf4j.Logger getLog()- Specified by:
getLog
in classAbstractCommandLineArguments
-
getList
public boolean getList()Are we doing a list?- Returns:
- whether this is a list operation
-
getInfoModuleIds
Gets the module ID(s) to report on.- Returns:
- module ID(s) to report on
-
getTestModuleIds
Gets the module ID(s) to test.- Returns:
- module ID(s) to test
-
getEnableModuleIds
Gets the module ID(s) to enable.- Returns:
- module ID(s) to enable
-
getDisableModuleIds
Gets the module ID(s) to disable.- Returns:
- module ID(s) to disable
-
getClean
public boolean getClean()Are we disabling with the clean option?- Returns:
- clean option
-
validate
- Specified by:
validate
in interfaceCommandLineArguments
- Overrides:
validate
in classAbstractCommandLineArguments
- Throws:
IllegalArgumentException
-
printHelp
- Specified by:
printHelp
in interfaceCommandLineArguments
- Overrides:
printHelp
in classAbstractIdPHomeAwareCommandLineArguments
-