Package org.nuxeo.lib.stream.computation
Class ComputationMetadataMapping
- java.lang.Object
-
- org.nuxeo.lib.stream.computation.ComputationMetadata
-
- org.nuxeo.lib.stream.computation.ComputationMetadataMapping
-
public class ComputationMetadataMapping extends ComputationMetadata
Extend the metadata to add a mapping for the input and output stream.- Since:
- 9.3
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,String>
mapping
protected Map<String,String>
reverseMapping
-
Fields inherited from class org.nuxeo.lib.stream.computation.ComputationMetadata
inputStreams, name, outputStreams
-
-
Constructor Summary
Constructors Constructor Description ComputationMetadataMapping(ComputationMetadata metadata, Map<String,String> mapping)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
hashCode()
String
map(String name)
String
reverseMap(String name)
-
Methods inherited from class org.nuxeo.lib.stream.computation.ComputationMetadata
inputStreams, name, outputStreams, toString
-
-
-
-
Constructor Detail
-
ComputationMetadataMapping
public ComputationMetadataMapping(ComputationMetadata metadata, Map<String,String> mapping)
-
-
Method Detail
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classComputationMetadata
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classComputationMetadata
-
-