Class YamlConfigurationExtension
java.lang.Object
org.jboss.as.controller.persistence.yaml.YamlConfigurationExtension
- All Implemented Interfaces:
ConfigurationExtension
- Author:
- Emmanuel Hugonnet (c) 2021 Red Hat, Inc.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks if the argument is one of those required for this configuration extension.Returns the command line instructions.String[]Returns the command line usage arguments to be displayed for help.Loads supplemental configurations.voidprocessOperations(ImmutableManagementResourceRegistration rootRegistration, List<ParsedBootOp> postExtensionOps) Process the already defined boot operations to update them with the supplemnetal configurations.booleanshouldProcessOperations(RunningModeControl runningModeControl) Checks if the configuration extension should process the supplemental configurations.
-
Field Details
-
MANAGED_CONTENT_ATTRIBUTES
-
-
Constructor Details
-
YamlConfigurationExtension
public YamlConfigurationExtension()
-
-
Method Details
-
load
Description copied from interface:ConfigurationExtensionLoads supplemental configurations.- Specified by:
loadin interfaceConfigurationExtension- Parameters:
files- the paths to files with supplemental configuration.- Returns:
- the configuration extension.
-
shouldProcessOperations
Description copied from interface:ConfigurationExtensionChecks if the configuration extension should process the supplemental configurations.- Specified by:
shouldProcessOperationsin interfaceConfigurationExtension- Parameters:
runningModeControl- : the running mode control of the server.- Returns:
- true if the configuration extension should process operations - false otherwise.
-
processOperations
public void processOperations(ImmutableManagementResourceRegistration rootRegistration, List<ParsedBootOp> postExtensionOps) Description copied from interface:ConfigurationExtensionProcess the already defined boot operations to update them with the supplemnetal configurations.- Specified by:
processOperationsin interfaceConfigurationExtension- Parameters:
rootRegistration- : metamodel.postExtensionOps- : initial boot oerations.
-
getCommandLineUsageArguments
Description copied from interface:ConfigurationExtensionReturns the command line usage arguments to be displayed for help.- Specified by:
getCommandLineUsageArgumentsin interfaceConfigurationExtension- Returns:
- the command line usage arguments to be displayed for help.
-
commandLineContainsArgument
Description copied from interface:ConfigurationExtensionChecks if the argument is one of those required for this configuration extension.- Specified by:
commandLineContainsArgumentin interfaceConfigurationExtension- Parameters:
arg- : the command line or one of its argument.- Returns:
- true if the argument is one of those required by this configuration extension - false otherwise.
-
getCommandLineInstructions
Description copied from interface:ConfigurationExtensionReturns the command line instructions.- Specified by:
getCommandLineInstructionsin interfaceConfigurationExtension- Returns:
- the command line instructions.
-