Code example for CaseFormat

Methods: to

    public String getEventName() {
      return String.format("Artifact%sCacheStarted",
, getOperation().toString()));
  public static class Finished extends ArtifactCacheEvent { 
    /** Not present iff {@link #getOperation()} is not {@link Operation#FETCH}. */ 
    private final Optional<CacheResult> cacheResult;
    public Optional<CacheResult> getCacheResult() {
      return cacheResult;
    protected Finished(Operation operation, RuleKey ruleKey, Optional<CacheResult> cacheResult) {
      super(operation, ruleKey);
Stop searching for code, let great code find you!  Add Codota to your java IDE