Package io.wcm.devops.conga.model.reader
Interface ModelReader<T>
- Type Parameters:
T- Model type.
- All Known Implementing Classes:
AbstractModelReader,EnvironmentReader,RoleReader
public interface ModelReader<T>
Reads a model.
-
Method Summary
-
Method Details
-
accepts
Checks if the given file is accepted by this reader.- Parameters:
file- File- Returns:
- true if accepted
-
read
Read model- Parameters:
file- Model file- Returns:
- Model object
- Throws:
IOException- is thrown when I/O exception occurs
-
read
Read model- Parameters:
is- Model file- Returns:
- Model object
- Throws:
IOException- is thrown when I/O exception occurs
-
read
Read model- Parameters:
reader- Model file- Returns:
- Model object
-