public class StringifyingValueVisitor extends Object implements ValueVisitor<RuntimeException>
| Modifier and Type | Class and Description |
|---|---|
static class |
StringifyingValueVisitor.ExcludeFromStringification |
| Constructor and Description |
|---|
StringifyingValueVisitor() |
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
void |
visitBoolean(Boolean value) |
void |
visitByte(Byte value) |
void |
visitCharacter(Character value) |
void |
visitDouble(Double value) |
<T extends AddsToRuleKey> |
visitDynamic(T value,
ClassInfo<T> classInfo) |
<T> void |
visitField(Field field,
T value,
ValueTypeInfo<T> valueTypeInfo,
List<Class<? extends CustomFieldBehaviorTag>> customBehavior) |
void |
visitFloat(Float value) |
void |
visitInteger(Integer value) |
<T> void |
visitList(com.google.common.collect.ImmutableList<T> value,
ValueTypeInfo<T> innerType) |
void |
visitLong(Long value) |
<K,V> void |
visitMap(com.google.common.collect.ImmutableMap<K,V> value,
ValueTypeInfo<K> keyType,
ValueTypeInfo<V> valueType) |
<T> void |
visitNullable(T value,
ValueTypeInfo<T> inner) |
<T> void |
visitOptional(Optional<T> value,
ValueTypeInfo<T> innerType) |
void |
visitOutputPath(OutputPath value) |
void |
visitPath(Path path) |
<T> void |
visitSet(com.google.common.collect.ImmutableSet<T> value,
ValueTypeInfo<T> innerType) |
void |
visitShort(Short value) |
<K,V> void |
visitSortedMap(com.google.common.collect.ImmutableSortedMap<K,V> value,
ValueTypeInfo<K> keyType,
ValueTypeInfo<V> valueType) |
<T> void |
visitSortedSet(com.google.common.collect.ImmutableSortedSet<T> value,
ValueTypeInfo<T> innerType) |
void |
visitSourcePath(SourcePath value) |
void |
visitString(String value) |
void |
visitTargetConfiguration(TargetConfiguration value) |
public void visitOutputPath(OutputPath value)
visitOutputPath in interface ValueVisitor<RuntimeException>public void visitSourcePath(SourcePath value)
visitSourcePath in interface ValueVisitor<RuntimeException>public <T> void visitField(Field field, T value, ValueTypeInfo<T> valueTypeInfo, List<Class<? extends CustomFieldBehaviorTag>> customBehavior)
visitField in interface ValueVisitor<RuntimeException>public <T> void visitSet(com.google.common.collect.ImmutableSet<T> value,
ValueTypeInfo<T> innerType)
throws RuntimeException
visitSet in interface ValueVisitor<RuntimeException>RuntimeExceptionpublic <T> void visitSortedSet(com.google.common.collect.ImmutableSortedSet<T> value,
ValueTypeInfo<T> innerType)
visitSortedSet in interface ValueVisitor<RuntimeException>public <K,V> void visitMap(com.google.common.collect.ImmutableMap<K,V> value,
ValueTypeInfo<K> keyType,
ValueTypeInfo<V> valueType)
throws RuntimeException
visitMap in interface ValueVisitor<RuntimeException>RuntimeExceptionpublic <K,V> void visitSortedMap(com.google.common.collect.ImmutableSortedMap<K,V> value,
ValueTypeInfo<K> keyType,
ValueTypeInfo<V> valueType)
visitSortedMap in interface ValueVisitor<RuntimeException>public <T> void visitList(com.google.common.collect.ImmutableList<T> value,
ValueTypeInfo<T> innerType)
visitList in interface ValueVisitor<RuntimeException>public <T> void visitOptional(Optional<T> value, ValueTypeInfo<T> innerType)
visitOptional in interface ValueVisitor<RuntimeException>public <T> void visitNullable(@Nullable T value, ValueTypeInfo<T> inner) throws RuntimeException
visitNullable in interface ValueVisitor<RuntimeException>RuntimeExceptionpublic <T extends AddsToRuleKey> void visitDynamic(T value, ClassInfo<T> classInfo) throws RuntimeException
visitDynamic in interface ValueVisitor<RuntimeException>RuntimeExceptionpublic void visitString(String value)
visitString in interface ValueVisitor<RuntimeException>public void visitCharacter(Character value)
visitCharacter in interface ValueVisitor<RuntimeException>public void visitBoolean(Boolean value)
visitBoolean in interface ValueVisitor<RuntimeException>public void visitByte(Byte value)
visitByte in interface ValueVisitor<RuntimeException>public void visitShort(Short value)
visitShort in interface ValueVisitor<RuntimeException>public void visitInteger(Integer value)
visitInteger in interface ValueVisitor<RuntimeException>public void visitLong(Long value)
visitLong in interface ValueVisitor<RuntimeException>public void visitFloat(Float value)
visitFloat in interface ValueVisitor<RuntimeException>public void visitDouble(Double value)
visitDouble in interface ValueVisitor<RuntimeException>public void visitTargetConfiguration(TargetConfiguration value) throws RuntimeException
visitTargetConfiguration in interface ValueVisitor<RuntimeException>RuntimeExceptionpublic String getValue()
public void visitPath(Path path)
visitPath in interface ValueVisitor<RuntimeException>