1 /*** 2 * 3 */ 4 package de.cohesion.bssh.impl; 5 6 /*** 7 * @author schulzs 8 */ 9 public class Challenge { 10 11 private final String name; 12 13 private final String instruction; 14 15 private final String[] prompts; 16 17 private final boolean[] echo; 18 19 public Challenge(String name, String instruction, String[] prompts, 20 boolean[] echo) { 21 this.name = name; 22 this.instruction = instruction; 23 this.prompts = prompts; 24 this.echo = echo; 25 } 26 27 public String[] getPrompts() { 28 return prompts; 29 } 30 31 public boolean[] getEcho() { 32 return echo; 33 } 34 35 }