Top Description Fields Constructors Methods
org.apache.sshd.common.config

public abstract Class ListParseResult<E>

extends Object
Class Inheritance
Known Direct Subclasses
org.apache.sshd.common.config.NamedResourceListParseResult, org.apache.sshd.common.config.FactoriesListParseResult
Type Parameters
<E>
Type of list item
Imports
java.util.List, org.apache.sshd.common.util.GenericUtils

Used to hold the result of parsing a list of value. Such result contains known and unknown values - which are accessible via the respective getParsedValues() and getUnsupportedValues() methods

Note

the returned Lists may be un-modifiable, so it is recommended to avoid attempting changing the, returned list(s)

Author
Apache MINA SSHD Project

Field Summary

Modifier and TypeField and Description
private final List<E>
private final List<String>

Constructor Summary

AccessConstructor and Description
protected
ListParseResult(List<E> parsed, List<String> unsupported)

Method Summary

Modifier and TypeMethod and Description
public final List<E>

Returns:

The List of successfully parsed value instances in the same order as they were encountered during parsing
getParsedValues
()

public List<String>

Returns:

A List of unknown/unsupported configuration values for the factories
getUnsupportedValues
()

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

parsedback to summary
private final List<E> parsed
unsupportedback to summary
private final List<String> unsupported

Constructor Detail

ListParseResultback to summary
protected ListParseResult(List<E> parsed, List<String> unsupported)

Method Detail

getParsedValuesback to summary
public final List<E> getParsedValues()
Returns:List<E>

The List of successfully parsed value instances in the same order as they were encountered during parsing

getUnsupportedValuesback to summary
public List<String> getUnsupportedValues()
Returns:List<String>

A List of unknown/unsupported configuration values for the factories

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override