Class Components.Ignored<TYPE>
java.lang.Object
com.yahoo.vespa.indexinglanguage.expressions.Components<TYPE>
com.yahoo.vespa.indexinglanguage.expressions.Components.Ignored<TYPE>
- Enclosing class:
- Components<TYPE>
A components instance for environments where no components are available:
This will claim to have any component, but will only return a failing instance.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.yahoo.vespa.indexinglanguage.expressions.Components
Components.Ignored<TYPE>, Components.Map<TYPE>, Components.Selected<TYPE> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether this contains the given id.Returns the component with this id, or null if it does not exist.ids()Returns all the known instance id's in this.booleanisEmpty()Returns whether this is empty.Returns the single component selected by this without supplying an id, or empty if an id is required.Methods inherited from class com.yahoo.vespa.indexinglanguage.expressions.Components
failingComponent
-
Constructor Details
-
Ignored
-
-
Method Details
-
ids
Description copied from class:ComponentsReturns all the known instance id's in this.- Specified by:
idsin classComponents<TYPE>
-
isEmpty
public boolean isEmpty()Description copied from class:ComponentsReturns whether this is empty.- Specified by:
isEmptyin classComponents<TYPE>
-
singleSelected
Description copied from class:ComponentsReturns the single component selected by this without supplying an id, or empty if an id is required.- Specified by:
singleSelectedin classComponents<TYPE>
-
contains
Description copied from class:ComponentsReturns whether this contains the given id.- Specified by:
containsin classComponents<TYPE>
-
get
Description copied from class:ComponentsReturns the component with this id, or null if it does not exist.- Specified by:
getin classComponents<TYPE>
-