Coverage Report - fr.paris.lutece.plugins.announce.modules.workflow.business.TaskNotifyAnnounceConfig
 
Classes in this File Line Coverage Branch Coverage Complexity
TaskNotifyAnnounceConfig
0 %
0/19
N/A
1
 
 1  
 /*
 2  
  * Copyright (c) 2002-2017, Mairie de Paris
 3  
  * All rights reserved.
 4  
  *
 5  
  * Redistribution and use in source and binary forms, with or without
 6  
  * modification, are permitted provided that the following conditions
 7  
  * are met:
 8  
  *
 9  
  *  1. Redistributions of source code must retain the above copyright notice
 10  
  *     and the following disclaimer.
 11  
  *
 12  
  *  2. Redistributions in binary form must reproduce the above copyright notice
 13  
  *     and the following disclaimer in the documentation and/or other materials
 14  
  *     provided with the distribution.
 15  
  *
 16  
  *  3. Neither the name of 'Mairie de Paris' nor 'Lutece' nor the names of its
 17  
  *     contributors may be used to endorse or promote products derived from
 18  
  *     this software without specific prior written permission.
 19  
  *
 20  
  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
 21  
  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 22  
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 23  
  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
 24  
  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 25  
  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
 26  
  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 27  
  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 28  
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 29  
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 30  
  * POSSIBILITY OF SUCH DAMAGE.
 31  
  *
 32  
  * License 1.0
 33  
  */
 34  
 package fr.paris.lutece.plugins.announce.modules.workflow.business;
 35  
 
 36  
 import fr.paris.lutece.plugins.workflowcore.business.config.TaskConfig;
 37  
 
 38  
 
 39  
 /**
 40  
  * TaskNotifyAnnounceConfig
 41  
  */
 42  0
 public class TaskNotifyAnnounceConfig extends TaskConfig
 43  
 {
 44  
     private String _strSubject;
 45  
     private String _strMessage;
 46  
     private String _strSenderName;
 47  
     private String _strSenderEmail;
 48  
     private String _strRecipientsCc;
 49  
     private String _strRecipientsBcc;
 50  
 
 51  
     /**
 52  
      * Get the subject
 53  
      * @return the subject of the message
 54  
      */
 55  
     public String getSubject( )
 56  
     {
 57  0
         return _strSubject;
 58  
     }
 59  
 
 60  
     /**
 61  
      * Set the subject of the message
 62  
      * @param strSubject the subject of the message
 63  
      */
 64  
     public void setSubject( String strSubject )
 65  
     {
 66  0
         _strSubject = strSubject;
 67  0
     }
 68  
 
 69  
     /**
 70  
      * Get the message
 71  
      * @return the message of the notification
 72  
      */
 73  
     public String getMessage( )
 74  
     {
 75  0
         return _strMessage;
 76  
     }
 77  
 
 78  
     /**
 79  
      * Set the message of the notification
 80  
      * @param strMessage the message of the notification
 81  
      */
 82  
     public void setMessage( String strMessage )
 83  
     {
 84  0
         _strMessage = strMessage;
 85  0
     }
 86  
 
 87  
     /**
 88  
      * Get the sender name
 89  
      * @return the sender name
 90  
      */
 91  
     public String getSenderName( )
 92  
     {
 93  0
         return _strSenderName;
 94  
     }
 95  
 
 96  
     /**
 97  
      * Set the sender name
 98  
      * @param strSenderName the sender name
 99  
      */
 100  
     public void setSenderName( String strSenderName )
 101  
     {
 102  0
         _strSenderName = strSenderName;
 103  0
     }
 104  
 
 105  
     /**
 106  
      * Get the sender email
 107  
      * @return the sender email
 108  
      */
 109  
     public String getSenderEmail( )
 110  
     {
 111  0
         return _strSenderEmail;
 112  
     }
 113  
 
 114  
     /**
 115  
      * Set the sender email
 116  
      * @param strSenderEmail the sender email
 117  
      */
 118  
     public void setSenderEmail( String strSenderEmail )
 119  
     {
 120  0
         _strSenderEmail = strSenderEmail;
 121  0
     }
 122  
 
 123  
     /**
 124  
      * Returns the Recipient
 125  
      * @return The Recipient
 126  
      */
 127  
     public String getRecipientsCc( )
 128  
     {
 129  0
         return _strRecipientsCc;
 130  
     }
 131  
 
 132  
     /**
 133  
      * Sets the Recipient
 134  
      * @param strRecipient The Recipient
 135  
      */
 136  
     public void setRecipientsCc( String strRecipient )
 137  
     {
 138  0
         _strRecipientsCc = strRecipient;
 139  0
     }
 140  
 
 141  
     /**
 142  
      * Returns the Recipient
 143  
      * @return The Recipient
 144  
      */
 145  
     public String getRecipientsBcc( )
 146  
     {
 147  0
         return _strRecipientsBcc;
 148  
     }
 149  
 
 150  
     /**
 151  
      * Sets the Recipient
 152  
      * @param strRecipient The Recipient
 153  
      */
 154  
     public void setRecipientsBcc( String strRecipient )
 155  
     {
 156  0
         _strRecipientsBcc = strRecipient;
 157  0
     }
 158  
 }