com.devonfw.cobigen.api.InputInterpreter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core-api Show documentation
Show all versions of core-api Show documentation
A Code-based incremental Generator
The newest version!
package com.devonfw.cobigen.api;
import java.nio.charset.Charset;
import java.nio.file.Path;
import java.util.List;
import com.devonfw.cobigen.api.exception.InputReaderException;
import com.devonfw.cobigen.api.extension.InputReader;
/** The implements operations for reading or processing inputs. */
public interface InputInterpreter {
/**
* Checks whether there is at least one input reader, which interprets the given input as combined input.
*
* @param input object
* @return true
if there is at least one input reader, which interprets the given input as combined
* input,false
, otherwise
*/
public boolean combinesMultipleInputs(Object input);
/**
* Resolves any input, which serves as a container and returns the list of contained inputs, which are valid for
* generation.
*
* @param input container to resolve
* @return the list of matching entries in the container or the input itself if it is not a container.
*/
public List