Interface MetadataInputResolver
-
public interface MetadataInputResolverInterface representing methods that a new instance must implement if it wants to resolvespring-configuration-metadata.jsonfiles from different sources.- Since:
- 0.1.0
- Author:
- nandorholozsnyak
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputStreamresolveInputStream(Project project, File input)Resolves the metadata file from the given parameters.booleansupports(File input)Checks if the input resolver supports this input or not.
-
-
-
Method Detail
-
resolveInputStream
InputStream resolveInputStream(Project project, File input)
Resolves the metadata file from the given parameters.- Parameters:
project- project instance.input- input that could be a file, directory or a jar/zip file.- Returns:
- resolved input stream if the input contains the desired element, otherwise it returns null.
-
supports
boolean supports(File input)
Checks if the input resolver supports this input or not.- Parameters:
input- input object.- Returns:
- true if the resolver supports this input, otherwise false.
-
-