public class JsonTargetConfigurationSerializer extends Object implements TargetConfigurationSerializer
TargetConfiguration
in a text form.Constructor and Description |
---|
JsonTargetConfigurationSerializer(java.util.function.Function<String,UnconfiguredBuildTarget> buildTargetProvider) |
Modifier and Type | Method and Description |
---|---|
TargetConfiguration |
deserialize(String rawValue)
Creates
TargetConfiguration from the provided text representation. |
String |
serialize(TargetConfiguration targetConfiguration)
Converts
TargetConfiguration to string. |
public JsonTargetConfigurationSerializer(java.util.function.Function<String,UnconfiguredBuildTarget> buildTargetProvider)
public String serialize(TargetConfiguration targetConfiguration)
TargetConfigurationSerializer
TargetConfiguration
to string.serialize
in interface TargetConfigurationSerializer
public TargetConfiguration deserialize(String rawValue)
TargetConfigurationSerializer
TargetConfiguration
from the provided text representation.deserialize
in interface TargetConfigurationSerializer