All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.adobe.aemds.guide.model.SignerInfoSource Maven / Gradle / Ivy

/*
 * ***********************************************************************
 * ADOBE CONFIDENTIAL
 * __________________
 *
 * Copyright 2016 Adobe Systems Incorporated
 * All Rights Reserved.
 *
 * NOTICE:  All information contained herein is, and remains
 * the property of Adobe Systems Incorporated and its suppliers,
 * if any.  The intellectual and technical concepts contained
 * herein are proprietary to Adobe Systems Incorporated and its
 * suppliers and may be covered by U.S. and Foreign Patents,
 * patents in process, and are protected by trade secret or copyright law.
 * Dissemination of this information or reproduction of this material
 * is strictly forbidden unless prior written permission is obtained
 * from Adobe Systems Incorporated.
 * ***********************************************************************
 */

package com.adobe.aemds.guide.model;

import java.util.HashMap;
import java.util.Map;

/**
 * @pad.exclude Exclude from Published API.
 */
public enum SignerInfoSource {
  FORM("form"),
  USER_PROFILE("userProfile"),
  TYPED("typed");

  // Reverse-valueLookup map for getting SignerInfoSource from string
  private static final Map valueLookup = new HashMap();

  static {
    for (SignerInfoSource signerInfoSource : SignerInfoSource.values()) {
      valueLookup.put(signerInfoSource.getValue(), signerInfoSource);
    }
  }

  private String value;

  private SignerInfoSource(String value) {
    this.value = value;
  }

  public String getValue() {
    return this.value;
  }

  public String toString() {
    return this.getValue();
  }

  public static SignerInfoSource get(String value) {
    return valueLookup.get(value);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy