Class EmailResolverKeys

  • All Implemented Interfaces:
    IAttrSet, com.netscape.certsrv.notification.IEmailResolverKeys, java.io.Serializable

    public class EmailResolverKeys
    extends java.lang.Object
    implements com.netscape.certsrv.notification.IEmailResolverKeys
    Email resolver keys as input to email resolvers

    Version:
    $Revision$, $Date$
    Author:
    cfu
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from interface com.netscape.certsrv.notification.IEmailResolverKeys

        KEY_CERT, KEY_REQUEST
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void delete​(java.lang.String name)
      removes the name and its corresponding key from this key set.
      java.lang.Object get​(java.lang.String name)
      returns the key to which the specified name is mapped in this key set
      java.util.Enumeration<java.lang.String> getElements()
      returns an enumeration of the key names in this key set.
      void set​(java.lang.String name, java.lang.Object key)
      sets a key with key name and the key
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EmailResolverKeys

        public EmailResolverKeys()
    • Method Detail

      • set

        public void set​(java.lang.String name,
                        java.lang.Object key)
                 throws EBaseException
        sets a key with key name and the key
        Specified by:
        set in interface IAttrSet
        Parameters:
        name - key name
        key - key
        Throws:
        EBaseException - NullPointerException
      • get

        public java.lang.Object get​(java.lang.String name)
        returns the key to which the specified name is mapped in this key set
        Specified by:
        get in interface IAttrSet
        Parameters:
        name - key name
        Returns:
        the named email resolver key
      • delete

        public void delete​(java.lang.String name)
        removes the name and its corresponding key from this key set. This method does nothing if the named key is not in the key set.
        Specified by:
        delete in interface IAttrSet
        Parameters:
        name - key name
      • getElements

        public java.util.Enumeration<java.lang.String> getElements()
        returns an enumeration of the key names in this key set. Use the Enumeration methods on the returned object to fetch the elements sequentially.
        Specified by:
        getElements in interface IAttrSet
        Returns:
        an enumeration of the values in this key set
        See Also:
        Enumeration