Interface ConfigurationOptionsEndpoint
-
- All Known Implementing Classes:
ConfigurationOptionsEndpointImpl
@Path("configuration-options") @Consumes("application/json") @Produces("application/json") public interface ConfigurationOptionsEndpointContains endpoints for getting available options and validating option values.- Author:
- Jesse Sightler
-
-
Field Summary
Fields Modifier and Type Field Description static StringCONFIGURATION_OPTIONS_PATHstatic StringVALIDATE_OPTION
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<org.jboss.windup.config.ConfigurationOption>getAllOptions()Gets a list of options available from the server.org.jboss.windup.config.ValidationResultvalidateOption(Long analysisContextId, AdvancedOption advancedOption)Validates the provided option and returns the result.
-
-
-
Field Detail
-
CONFIGURATION_OPTIONS_PATH
static final String CONFIGURATION_OPTIONS_PATH
- See Also:
- Constant Field Values
-
VALIDATE_OPTION
static final String VALIDATE_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAllOptions
@GET List<org.jboss.windup.config.ConfigurationOption> getAllOptions()
Gets a list of options available from the server.
-
validateOption
@POST @Path("validate-option") org.jboss.windup.config.ValidationResult validateOption(@QueryParam("analysisContextId") Long analysisContextId, AdvancedOption advancedOption)Validates the provided option and returns the result.
-
-