@InterfaceAudience.Public @InterfaceStability.Unstable public class FlowActivityEntity extends TimelineEntity
Modifier and Type | Field and Description |
---|---|
static String |
CLUSTER_INFO_KEY |
static String |
DATE_INFO_KEY |
static String |
FLOW_NAME_INFO_KEY |
static String |
USER_INFO_KEY |
DEFAULT_ENTITY_PREFIX, SYSTEM_INFO_KEY_PREFIX
Constructor and Description |
---|
FlowActivityEntity() |
FlowActivityEntity(String cluster,
long time,
String user,
String flowName) |
FlowActivityEntity(TimelineEntity entity) |
Modifier and Type | Method and Description |
---|---|
void |
addFlowRun(FlowRunEntity run) |
void |
addFlowRuns(Collection<FlowRunEntity> runs) |
int |
compareTo(TimelineEntity entity) |
boolean |
equals(Object obj)
Reuse the base class equals method.
|
String |
getCluster() |
Date |
getDate() |
String |
getFlowName() |
NavigableSet<FlowRunEntity> |
getFlowRuns() |
String |
getId() |
int |
getNumberOfRuns() |
String |
getUser() |
int |
hashCode()
Reuse the base class hashCode method.
|
void |
setCluster(String cluster) |
void |
setDate(long time) |
void |
setFlowName(String flowName) |
void |
setUser(String user) |
addConfig, addConfigs, addEvent, addEvents, addInfo, addInfo, addIsRelatedToEntities, addIsRelatedToEntity, addMetric, addMetrics, addRelatesToEntities, addRelatesToEntity, getConfigs, getCreatedTime, getEvents, getIdentifier, getIdPrefix, getInfo, getIsRelatedToEntities, getMetrics, getReal, getRelatesToEntities, getType, isValid, setConfigs, setCreatedTime, setEvents, setId, setIdentifier, setIdPrefix, setInfo, setIsRelatedToEntities, setMetrics, setRelatesToEntities, setType, setUID, toString
public static final String CLUSTER_INFO_KEY
public static final String DATE_INFO_KEY
public static final String USER_INFO_KEY
public static final String FLOW_NAME_INFO_KEY
public FlowActivityEntity()
public FlowActivityEntity(String cluster, long time, String user, String flowName)
public FlowActivityEntity(TimelineEntity entity)
public String getId()
getId
in class TimelineEntity
public int compareTo(TimelineEntity entity)
compareTo
in interface Comparable<TimelineEntity>
compareTo
in class TimelineEntity
public boolean equals(Object obj)
equals
in class TimelineEntity
public int hashCode()
hashCode
in class TimelineEntity
public String getCluster()
public void setCluster(String cluster)
public Date getDate()
public void setDate(long time)
public String getUser()
public void setUser(String user)
public String getFlowName()
public void setFlowName(String flowName)
public void addFlowRun(FlowRunEntity run)
public void addFlowRuns(Collection<FlowRunEntity> runs)
public NavigableSet<FlowRunEntity> getFlowRuns()
public int getNumberOfRuns()
Copyright © 2024 Apache Software Foundation. All rights reserved.