Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  package com.hubspot.deploy;
  
  import java.util.List;
  import java.util.Map;
  
  
  public class ExecutorDataBuilder {
 
   private String cmd;
   private List<S3Artifacts3Artifacts;
   private Optional<Stringuser;
   private List<StringextraCmdLineArgs;
   private Optional<StringloggingTag;
 
   public ExecutorDataBuilder(String cmdList<EmbeddedArtifactembeddedArtifactsList<ExternalArtifactexternalArtifactsList<S3Artifacts3ArtifactsList<IntegersuccessfulExitCodesOptional<StringrunningSentinel,
       Optional<StringuserList<StringextraCmdLineArgsOptional<StringloggingTagMap<StringStringloggingExtraFieldsOptional<LongsigKillProcessesAfterMillis) {
     this. = cmd;
     this. = embeddedArtifacts;
     this. = externalArtifacts;
     this. = s3Artifacts;
     this. = successfulExitCodes;
     this. = runningSentinel;
     this. = user;
     this. = extraCmdLineArgs;
     this. = loggingTag;
     this. = loggingExtraFields;
   }
 
   public ExecutorDataBuilder() {
 
   }
 
   public ExecutorData build() {
   }
 
   public Optional<StringgetLoggingTag() {
     return ;
   }
 
   public ExecutorDataBuilder setLoggingTag(Optional<StringloggingTag) {
     this. = loggingTag;
     return this;
   }
 
   public Map<StringStringgetLoggingExtraFields() {
     return ;
   }
 
   public ExecutorDataBuilder setLoggingExtraFields(Map<StringStringloggingExtraFields) {
     this. = loggingExtraFields;
     return this;
   }
 
   public String getCmd() {
     return ;
   }
 
     return ;
   }
 
     return ;
   }
 
     return ;
   }
 
   public List<StringgetExtraCmdLineArgs() {
     return ;
   }
 
   public Optional<StringgetRunningSentinel() {
     return ;
   }
 
   public Optional<StringgetUser() {
     return ;
   }
 
   public ExecutorDataBuilder setCmd(String cmd) {
     this. = cmd;
     return this;
   }
 
   }
 
  public ExecutorDataBuilder setSigKillProcessesAfterMillis(Optional<LongsigKillProcessesAfterMillis) {
    this. = sigKillProcessesAfterMillis;
    return this;
  }
    this. = embeddedArtifacts;
    return this;
  }
    this. = externalArtifacts;
    return this;
  }
  public ExecutorDataBuilder setSuccessfulExitCodes(List<IntegersuccessfulExitCodes) {
    this. = successfulExitCodes;
    return this;
  }
  public ExecutorDataBuilder setRunningSentinel(Optional<StringrunningSentinel) {
    this. = runningSentinel;
    return this;
  }
    this. = user;
    return this;
  }
  public ExecutorDataBuilder setExtraCmdLineArgs(List<StringextraCmdLineArgs) {
    this. = extraCmdLineArgs;
    return this;
  }
  public List<S3ArtifactgetS3Artifacts() {
    return ;
  }
  public ExecutorDataBuilder setS3Artifacts(List<S3Artifacts3Artifacts) {
    this. = s3Artifacts;
    return this;
  }
  public String toString() {
    return Objects.toStringHelper(this)
        .add("cmd")
        .add("embeddedArtifacts")
        .add("externalArtifacts")
        .add("s3Artifacts")
        .add("user")
        .add("successfulExitCodes")
        .add("runningSentinel")
        .add("extraCmdLineArgs")
        .add("loggingTag")
        .add("loggingExtraFields")
        .add("sigKillProcessesAfterMillis")
        .toString();
  }
New to GrepCode? Check out our FAQ X