Package com.facebook.buck.rules.modern
Interface ValueCreator<E extends Exception>
-
public interface ValueCreator<E extends Exception>
A ValueCreator can be used to create the values referenced from a Buildable. This is similar to ValueVisitor but returns a value instead of taking one. Used for deserialization.
-
-
Method Summary
-
-
-
Method Detail
-
createDynamic
AddsToRuleKey createDynamic() throws E extends Exception
-
createList
<T> com.google.common.collect.ImmutableList<T> createList(ValueTypeInfo<T> innerType) throws E extends Exception
-
createSet
<T> com.google.common.collect.ImmutableSet<T> createSet(ValueTypeInfo<T> innerType) throws E extends Exception
-
createSortedSet
<T> com.google.common.collect.ImmutableSortedSet<T> createSortedSet(ValueTypeInfo<T> innerType) throws E extends Exception
-
createMap
<K,V> com.google.common.collect.ImmutableMap<K,V> createMap(ValueTypeInfo<K> keyType, ValueTypeInfo<V> valueType) throws E extends Exception
-
createSortedMap
<K,V> com.google.common.collect.ImmutableSortedMap<K,V> createSortedMap(ValueTypeInfo<K> keyType, ValueTypeInfo<V> valueType) throws E extends Exception
-
createNullable
@Nullable <T> T createNullable(ValueTypeInfo<T> inner) throws E extends Exception
-
createOptional
<T> Optional<T> createOptional(ValueTypeInfo<T> innerType) throws E extends Exception
-
createOutputPath
OutputPath createOutputPath() throws E extends Exception
-
createSourcePath
SourcePath createSourcePath() throws E extends Exception
-
createTargetConfiguration
TargetConfiguration createTargetConfiguration() throws E extends Exception
-
-