|
ShrinkWrap Resolver API 2.0.0-alpha-3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
CONFIGUREDRESOLVERSYSTEMTYPE - View type of the ResolverSystem which does not support configurationpublic interface ConfigurableResolverSystem<CONFIGUREDRESOLVERSYSTEMTYPE extends ResolverSystem>
Top-level of a configurable resolver system; subtypes may be passed in as an argument to Resolvers.use(Class)
or Resolvers.use(Class, ClassLoader) to create a new instance.
| Method Summary | |
|---|---|
CONFIGUREDRESOLVERSYSTEMTYPE |
configureFromClassloaderResource(String path)
Optional operation. |
CONFIGUREDRESOLVERSYSTEMTYPE |
configureFromClassloaderResource(String path,
ClassLoader cl)
Optional operation. |
CONFIGUREDRESOLVERSYSTEMTYPE |
configureFromFile(File file)
Optional operation. |
CONFIGUREDRESOLVERSYSTEMTYPE |
configureFromFile(String pathToFile)
Optional operation. |
| Method Detail |
|---|
CONFIGUREDRESOLVERSYSTEMTYPE configureFromFile(File file)
throws IllegalArgumentException,
UnsupportedOperationException,
InvalidConfigurationFileException
ConfigurableResolverSystem from the specified file
file -
ResolverSystem
IllegalArgumentException - If the file is not specified, is a directory, or does not exist
InvalidConfigurationFileException - If the configuration file contents are not in appropriate format
UnsupportedOperationException - If this ConfigurableResolverSystem does not support configuration by File
CONFIGUREDRESOLVERSYSTEMTYPE configureFromFile(String pathToFile)
throws IllegalArgumentException,
UnsupportedOperationException,
InvalidConfigurationFileException
ConfigurableResolverSystem from the file at the specified path
pathToFile -
ResolverSystem
IllegalArgumentException - If the file is not specified, is a directory, or does not exist
InvalidConfigurationFileException - If the configuration file contents are not in appropriate format
UnsupportedOperationException - If this ConfigurableResolverSystem does not support configuration by File
InvalidConfigurationFileException - If the configuration file contents are not in appropriate format
CONFIGUREDRESOLVERSYSTEMTYPE configureFromClassloaderResource(String path)
throws IllegalArgumentException,
UnsupportedOperationException,
InvalidConfigurationFileException
ConfigurableResolverSystem from the result of
ClassLoader.getResource(String) using the current Thread.getContextClassLoader()
path -
ResolverSystem
IllegalArgumentException - If the either argument is not specified or if the path can not be found
UnsupportedOperationException - If this ConfigurableResolverSystem does not support configuration by ClassLoader
resource
InvalidConfigurationFileException - If the configuration file contents are not in appropriate format
CONFIGUREDRESOLVERSYSTEMTYPE configureFromClassloaderResource(String path,
ClassLoader cl)
throws IllegalArgumentException,
UnsupportedOperationException,
InvalidConfigurationFileException
ConfigurableResolverSystem from the result of
ClassLoader.getResource(String) using the specified ClassLoader
path - cl -
ResolverSystem
IllegalArgumentException - If the either argument is not specified or if the path can not be found
UnsupportedOperationException - If this ConfigurableResolverSystem does not support configuration by ClassLoader
resource
InvalidConfigurationFileException - If the configuration file contents are not in appropriate format
|
ShrinkWrap Resolver API 2.0.0-alpha-3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||