public abstract class AbstractArtifactCacheEventFactory extends Object implements ArtifactCacheEventFactory
Modifier | Constructor and Description |
---|---|
protected |
AbstractArtifactCacheEventFactory(java.util.function.Function<String,UnconfiguredBuildTarget> unconfiguredBuildTargetFactory,
TargetConfigurationSerializer targetConfigurationSerializer) |
Modifier and Type | Method and Description |
---|---|
static Optional<BuildTarget> |
getTarget(java.util.function.Function<String,UnconfiguredBuildTarget> unconfiguredBuildTargetFactory,
String target,
TargetConfiguration targetConfiguration) |
static Optional<BuildTarget> |
getTarget(java.util.function.Function<String,UnconfiguredBuildTarget> unconfiguredBuildTargetFactory,
TargetConfigurationSerializer targetConfigurationSerializer,
com.google.common.collect.ImmutableMap<String,String> metadata) |
protected Optional<BuildTarget> |
getTarget(com.google.common.collect.ImmutableMap<String,String> metadata) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
newContainsFinishedEvent, newContainsStartedEvent, newFetchFinishedEvent, newFetchStartedEvent, newStoreFinishedEvent, newStoreStartedEvent
protected AbstractArtifactCacheEventFactory(java.util.function.Function<String,UnconfiguredBuildTarget> unconfiguredBuildTargetFactory, TargetConfigurationSerializer targetConfigurationSerializer)
protected final Optional<BuildTarget> getTarget(com.google.common.collect.ImmutableMap<String,String> metadata)
public static Optional<BuildTarget> getTarget(java.util.function.Function<String,UnconfiguredBuildTarget> unconfiguredBuildTargetFactory, TargetConfigurationSerializer targetConfigurationSerializer, com.google.common.collect.ImmutableMap<String,String> metadata)
public static Optional<BuildTarget> getTarget(java.util.function.Function<String,UnconfiguredBuildTarget> unconfiguredBuildTargetFactory, @Nullable String target, TargetConfiguration targetConfiguration)