/**
   * Configure a policy with given parameters.
   *
   * @param policyParameters parameters defined by user
   */
  @Override
  public BooleanWrapper configure(Object... policyParameters) {
    super.configure(policyParameters);
    try {
      cronScheduler = new Scheduler();
      int index = 2;

      nodeAcquision = policyParameters[index++].toString();
      nodeRemoval = policyParameters[index++].toString();
      preemptive = Boolean.parseBoolean(policyParameters[index++].toString());
      forceDeployment = Boolean.parseBoolean(policyParameters[index++].toString());
    } catch (Throwable t) {
      throw new IllegalArgumentException(t);
    }
    return new BooleanWrapper(true);
  }
 /** Shutdown the policy and clears the timer. */
 @Override
 public void shutdown(Client initiator) {
   cronScheduler.stop();
   super.shutdown(initiator);
 }