Example #1
0
 public void put(final CompileParameter parameter, final String value) {
   if (parameter instanceof Prompt) {
     noPrompt = true;
   } else if (parameter instanceof LogOutput) {
     withLog = true;
   } else if (parameter instanceof DisableColors) {
     withColor = false;
     console = System.out;
   }
   parameters.put(parameter.getAlias(), value);
 }
Example #2
0
 public String get(final CompileParameter parameter) {
   return parameters.get(parameter.getAlias());
 }
Example #3
0
 public boolean contains(final CompileParameter parameter) {
   return parameters.containsKey(parameter.getAlias());
 }