public class JIPipeProjectCacheState extends Object implements Comparable<JIPipeProjectCacheState>
Constructor and Description |
---|
JIPipeProjectCacheState(JIPipeGraphNode node,
Set<JIPipeProjectCacheState> predecessorStates,
LocalDateTime generationTime)
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(JIPipeProjectCacheState o) |
boolean |
equals(Object o) |
LocalDateTime |
getGenerationTime() |
UUID |
getNodeUUID() |
Set<JIPipeProjectCacheState> |
getPredecessorStates() |
String |
getStateId() |
int |
hashCode() |
String |
renderGenerationTime()
Formats the generation time
|
void |
resetEqualityCache() |
String |
toString() |
public JIPipeProjectCacheState(JIPipeGraphNode node, Set<JIPipeProjectCacheState> predecessorStates, LocalDateTime generationTime)
node
- the nodepredecessorStates
- the states of predecessor nodesgenerationTime
- the generation time. It is ignored during comparison.public LocalDateTime getGenerationTime()
public String getStateId()
public int compareTo(JIPipeProjectCacheState o)
compareTo
in interface Comparable<JIPipeProjectCacheState>
public String renderGenerationTime()
public UUID getNodeUUID()
public Set<JIPipeProjectCacheState> getPredecessorStates()
public void resetEqualityCache()
Copyright © 2020–2022 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.