public abstract class SourceWithFlagsList extends Object
SourceWithFlags
.Modifier and Type | Class and Description |
---|---|
static class |
SourceWithFlagsList.Type |
Constructor and Description |
---|
SourceWithFlagsList() |
Modifier and Type | Method and Description |
---|---|
protected void |
check() |
abstract Optional<com.google.common.collect.ImmutableSortedMap<String,SourceWithFlags>> |
getNamedSources() |
abstract SourceWithFlagsList.Type |
getType() |
abstract Optional<com.google.common.collect.ImmutableSortedSet<SourceWithFlags>> |
getUnnamedSources() |
static SourceWithFlagsList |
ofNamedSources(com.google.common.collect.ImmutableSortedMap<String,SourceWithFlags> namedSources) |
static SourceWithFlagsList |
ofUnnamedSources(com.google.common.collect.ImmutableSortedSet<SourceWithFlags> unnamedSources) |
public abstract SourceWithFlagsList.Type getType()
public abstract Optional<com.google.common.collect.ImmutableSortedSet<SourceWithFlags>> getUnnamedSources()
public abstract Optional<com.google.common.collect.ImmutableSortedMap<String,SourceWithFlags>> getNamedSources()
@Value.Check protected void check()
public static SourceWithFlagsList ofUnnamedSources(com.google.common.collect.ImmutableSortedSet<SourceWithFlags> unnamedSources)
public static SourceWithFlagsList ofNamedSources(com.google.common.collect.ImmutableSortedMap<String,SourceWithFlags> namedSources)