class WorkerProcessCommandLine implements CommandLine {

  static boolean isAgentJar(final String name) {
    final Matcher matcher = AGENT_JAR_FILENAME_PATTERN.matcher(name);

    if (matcher.matches()) {
      final String maybeSnapshot = matcher.group(2);
      return maybeSnapshot == null || "-SNAPSHOT".equals(maybeSnapshot);
    }

    return false;
  }

  public  WorkerProcessCommandLine(final GrinderProperties properties,
                                  final Properties systemProperties,
                                  final String jvmArguments,
                                  final Directory workingDirectory);

}