class PartitionSpec {

  public String interpret(String input) {
    switch (this.interpreter) {
      case STRING:
        return getFormattedString(input);
      case STATIC:
        return this.format;
      default:
        return getFormattedTime(input);
    }
  }

  public  PartitionSpec();
  public  PartitionSpec(String name, List<String> sources, Interpreter interpreter, String format,
      int secondsToRound);
  public  PartitionSpec(String name, List<String> sources, Interpreter interpreter);
  public  PartitionSpec(String name, List<String> sources);
  public  PartitionSpec(String name, String... sources);

}