Class Metric
-
- All Implemented Interfaces:
public final class MetricMetric data class
-
-
Field Summary
Fields Modifier and Type Field Description private final Id<Metric>_idprivate final MetricTypetypeprivate final StringindicatorNameprivate final StringindicatorValueNameprivate final StringemitterStoryIdprivate final StringtrackedStoryIdprivate final Set<PlayerId>playerIdsprivate final Id<Dialog>dialogIdprivate final InstantcreationDateprivate final StringbotId
-
Method Summary
Modifier and Type Method Description final Id<Metric>get_id()final MetricTypegetType()final StringgetIndicatorName()final StringgetIndicatorValueName()final StringgetEmitterStoryId()final StringgetTrackedStoryId()final Set<PlayerId>getPlayerIds()final Id<Dialog>getDialogId()final InstantgetCreationDate()final StringgetBotId()-
-
Constructor Detail
-
Metric
Metric(Id<Metric> _id, MetricType type, String indicatorName, String indicatorValueName, String emitterStoryId, String trackedStoryId, Set<PlayerId> playerIds, Id<Dialog> dialogId, Instant creationDate, String botId)
- Parameters:
_id- optional because autogeneratedtype- mandatory typeindicatorName- mandatory indicator nameindicatorValueName- mandatory indicator value nameemitterStoryId- mandatory id of emitter storytrackedStoryId- mandatory id of tracked storyplayerIds- mandatory player ids - set of PlayerIddialogId- mandatory dialog idcreationDate- the creation datebotId- the application name
-
-
Method Detail
-
getType
final MetricType getType()
-
getIndicatorName
final String getIndicatorName()
-
getIndicatorValueName
final String getIndicatorValueName()
-
getEmitterStoryId
final String getEmitterStoryId()
-
getTrackedStoryId
final String getTrackedStoryId()
-
getPlayerIds
final Set<PlayerId> getPlayerIds()
-
getDialogId
final Id<Dialog> getDialogId()
-
getCreationDate
final Instant getCreationDate()
-
-
-
-