public interface BuildInfoStore extends Closeable
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
deleteMetadata(BuildTarget buildTarget) |
com.google.common.collect.ImmutableMap<String,String> |
getAllMetadata(BuildTarget buildTarget) |
Optional<String> |
readMetadata(BuildTarget buildTarget,
String key) |
void |
updateMetadata(BuildTarget buildTarget,
Map<String,String> metadata) |
Optional<String> readMetadata(BuildTarget buildTarget, String key)
void close()
close
in interface AutoCloseable
close
in interface Closeable
com.google.common.collect.ImmutableMap<String,String> getAllMetadata(BuildTarget buildTarget) throws IOException
IOException
void updateMetadata(BuildTarget buildTarget, Map<String,String> metadata) throws IOException
IOException
void deleteMetadata(BuildTarget buildTarget) throws IOException
IOException