public abstract class ArtifactCacheEvent extends AbstractBuckEvent implements LeafEvent
Modifier and Type | Class and Description |
---|---|
static class |
ArtifactCacheEvent.CacheMode |
static class |
ArtifactCacheEvent.Finished |
static class |
ArtifactCacheEvent.InvocationType |
static class |
ArtifactCacheEvent.Operation |
static class |
ArtifactCacheEvent.Started |
static class |
ArtifactCacheEvent.StoreType
For
ArtifactCacheEvent.Operation STORE there are different store types, storing the actual artifact or the
manifest of it. |
BUILD_FINISHED, BUILD_REPORT, BUILD_STARTED, BUILD_STATUS_EVENT, CACHE_RATE_STATS_UPDATE_EVENT, INDIVIDUAL_TEST_AWAITING_RESULTS, INSTALL_STARTED, PARSE_FINISHED, PARSE_STARTED, PROJECT_GENERATION_FINISHED, PROJECT_GENERATION_STARTED, TEST_RUN_STARTED
Modifier | Constructor and Description |
---|---|
protected |
ArtifactCacheEvent(EventKey eventKey,
ArtifactCacheEvent.CacheMode cacheMode,
ArtifactCacheEvent.Operation operation,
Optional<BuildTarget> target,
com.google.common.collect.ImmutableSet<RuleKey> ruleKeys,
ArtifactCacheEvent.InvocationType invocationType,
ArtifactCacheEvent.StoreType storeType) |
Modifier and Type | Method and Description |
---|---|
String |
getCategory() |
abstract String |
getEventName() |
ArtifactCacheEvent.InvocationType |
getInvocationType() |
ArtifactCacheEvent.Operation |
getOperation() |
com.google.common.collect.ImmutableSet<RuleKey> |
getRuleKeys() |
ArtifactCacheEvent.StoreType |
getStoreType() |
Optional<BuildTarget> |
getTarget() |
protected String |
getValueString() |
configure, equals, getBuildId, getEventKey, getNanoTime, getThreadId, getThreadUserNanoTime, getTimestampMillis, hashCode, isConfigured, isRelatedTo, toLogMessage, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
configure, getBuildId, getEventKey, getNanoTime, getThreadId, getThreadUserNanoTime, isConfigured, isRelatedTo, toLogMessage
getTimestampMillis, storeLastInstanceAndReplayForNewClients
protected ArtifactCacheEvent(EventKey eventKey, ArtifactCacheEvent.CacheMode cacheMode, ArtifactCacheEvent.Operation operation, Optional<BuildTarget> target, com.google.common.collect.ImmutableSet<RuleKey> ruleKeys, ArtifactCacheEvent.InvocationType invocationType, ArtifactCacheEvent.StoreType storeType)
protected String getValueString()
getValueString
in class AbstractBuckEvent
public String getCategory()
getCategory
in interface LeafEvent
public ArtifactCacheEvent.Operation getOperation()
public com.google.common.collect.ImmutableSet<RuleKey> getRuleKeys()
public Optional<BuildTarget> getTarget()
public ArtifactCacheEvent.InvocationType getInvocationType()
public ArtifactCacheEvent.StoreType getStoreType()
public abstract String getEventName()
getEventName
in interface BuckEventExternalInterface