Class ConfigurationEndpointImpl
- java.lang.Object
-
- org.jboss.windup.web.services.rest.ConfigurationEndpointImpl
-
- All Implemented Interfaces:
ConfigurationEndpoint
public class ConfigurationEndpointImpl extends Object implements ConfigurationEndpoint
- Author:
- Jesse Sightler
-
-
Constructor Summary
Constructors Constructor Description ConfigurationEndpointImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigurationgetConfigurationByProject(long projectId)Returns the Windup configuration for a single project.Set<LabelsPath>getCustomLabelsetPaths(long id)Returns only labelspath collection for custom registered ruleset pathsSet<RulesPath>getCustomRulesetPaths(long id)Returns only rulespath collection for custom registered ruleset pathsConfigurationgetGlobalConfiguration()Returns the Windup configuration.ConfigurationreloadConfiguration(long id)ConfigurationsaveConfiguration(long id, Configuration configuration)Persists the given configuration.
-
-
-
Method Detail
-
getGlobalConfiguration
public Configuration getGlobalConfiguration()
Description copied from interface:ConfigurationEndpointReturns the Windup configuration.- Specified by:
getGlobalConfigurationin interfaceConfigurationEndpoint
-
saveConfiguration
public Configuration saveConfiguration(long id, Configuration configuration)
Description copied from interface:ConfigurationEndpointPersists the given configuration.- Specified by:
saveConfigurationin interfaceConfigurationEndpoint
-
getConfigurationByProject
public Configuration getConfigurationByProject(long projectId)
Description copied from interface:ConfigurationEndpointReturns the Windup configuration for a single project.- Specified by:
getConfigurationByProjectin interfaceConfigurationEndpoint
-
getCustomRulesetPaths
public Set<RulesPath> getCustomRulesetPaths(long id)
Description copied from interface:ConfigurationEndpointReturns only rulespath collection for custom registered ruleset paths- Specified by:
getCustomRulesetPathsin interfaceConfigurationEndpoint- Returns:
-
getCustomLabelsetPaths
public Set<LabelsPath> getCustomLabelsetPaths(long id)
Description copied from interface:ConfigurationEndpointReturns only labelspath collection for custom registered ruleset paths- Specified by:
getCustomLabelsetPathsin interfaceConfigurationEndpoint- Returns:
-
reloadConfiguration
public Configuration reloadConfiguration(long id)
- Specified by:
reloadConfigurationin interfaceConfigurationEndpoint
-
-