Ejemplo n.º 1
0
  /** @param other */
  public void updateFrom(RangerPolicy other) {
    super.updateFrom(other);

    setService(other.getService());
    setName(other.getName());
    setPolicyType(other.getPolicyType());
    setDescription(other.getDescription());
    setResourceSignature(other.getResourceSignature());
    setIsAuditEnabled(other.getIsAuditEnabled());
    setResources(other.getResources());
    setPolicyItems(other.getPolicyItems());
    setDenyPolicyItems(other.getDenyPolicyItems());
    setAllowExceptions(other.getAllowExceptions());
    setDenyExceptions(other.getDenyExceptions());
  }