Package org.apache.sshd.common.config
Class ListParseResult<E>
- java.lang.Object
-
- org.apache.sshd.common.config.ListParseResult<E>
-
- Type Parameters:
E
- Type of list item
- Direct Known Subclasses:
FactoriesListParseResult
,NamedResourceListParseResult
public abstract class ListParseResult<E> extends Object
Used to hold the result of parsing a list of value. Such result contains known and unknown values - which are accessible via the respectivegetParsedValues()
andgetUnsupportedValues()
methods. Note: the returnedList
s may be un-modifiable, so it is recommended to avoid attempting changing the, returned list(s)- Author:
- Apache MINA SSHD Project
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ListParseResult(List<E> parsed, List<String> unsupported)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<E>
getParsedValues()
List<String>
getUnsupportedValues()
String
toString()
-
-
-
Method Detail
-
getParsedValues
public final List<E> getParsedValues()
- Returns:
- The
List
of successfully parsed value instances in the same order as they were encountered during parsing
-
getUnsupportedValues
public List<String> getUnsupportedValues()
- Returns:
- A
List
of unknown/unsupported configuration values for the factories
-
-