mailactioninfo.java

来自「一个免费的CA,基于EJB平台的,老师叫我们测试,现把之共享出来让大家参考」· Java 代码 · 共 73 行

JAVA
73
字号
/************************************************************************* *                                                                       * *  EJBCA: The OpenSource Certificate Authority                          * *                                                                       * *  This software is free software; you can redistribute it and/or       * *  modify it under the terms of the GNU Lesser General Public           * *  License as published by the Free Software Foundation; either         * *  version 2.1 of the License, or any later version.                    * *                                                                       * *  See terms of license at gnu.org.                                     * *                                                                       * *************************************************************************/package org.ejbca.core.model.services.actions;import org.ejbca.core.model.services.ActionInfo;/** * Class containing information that is sent between a worker and * the MailAction action. *  *  * @author Philip Vendil * * $id$ */public class MailActionInfo implements ActionInfo {		private String reciever = null;	private String subject = null;	private String message = null;			/**	 * Constructor used to create a MailActionInfo	 * 	 * @param reciever the reciever of the message, if null will the MailAction configured reciever be used.	 * @param subject the subject of the mail	 * @param message the message of the mail.	 */	public MailActionInfo(String reciever, String subject, String message) {		super();		this.reciever = reciever;		this.subject = subject;		this.message = message;	}   /**    * @return  the message of the mail.    */	public String getMessage() {		return message;	}	/**	 * 	 * @return the reciever of the message, if null will the MailAction configured reciever be used.	 */	public String getReciever() {		return reciever;	}    /**     * @return the subject of the mail     */	public String getSubject() {		return subject;	}		}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?