Package com.c12e.cortex.profiles.module
Interface CortexReader<ReturnType,T extends CortexReader>
-
- Type Parameters:
T
- Implementation of the interface for subtype returns
- All Known Subinterfaces:
CortexConnectionReader
,CortexConnectionStreamReader
,CortexDataSourceReader
,CortexProfileReader
- All Known Implementing Classes:
DefaultCortexConnectionReader.CortexReadParameters
,DefaultCortexConnectionStreamReader.CortexReadStreamParameters
,DefaultCortexDataSourceReader.CortexReadParameters
,DefaultCortexProfileReader.CortexReadParameters
public interface CortexReader<ReturnType,T extends CortexReader>
Common interface of reader builder parameters
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReturnType
load()
Completes building and begins read processT
option(java.lang.String key, java.lang.String value)
Overwrites value at keyT
options(java.util.Map<java.lang.String,java.lang.String> writeOptions)
Merges new options with current optionsT
project(java.lang.String project)
Sets the projectT
resourceName(java.lang.String resourceName)
Sets the resource to write to
-
-
-
Method Detail
-
project
T project(java.lang.String project)
Sets the project- Parameters:
project
-- Returns:
- this instance
-
resourceName
T resourceName(java.lang.String resourceName)
Sets the resource to write to- Parameters:
resourceName
-- Returns:
- this instance
-
options
T options(java.util.Map<java.lang.String,java.lang.String> writeOptions)
Merges new options with current options- Parameters:
writeOptions
-- Returns:
- this instance
-
option
T option(java.lang.String key, java.lang.String value)
Overwrites value at key- Parameters:
key
-value
-- Returns:
- this instance
-
load
ReturnType load()
Completes building and begins read process
-
-