/** * Copyright (C) 2017 Christian Pierre MOMON * * This file is part of (April) Hebdobot. * * Hebdobot is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Hebdobot is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with Hebdobot. If not, see */ package org.april.hebdobot.cron; import java.io.File; /** * The Class CronValue. */ public class CronValue { private String name; private String description; private String cron; private String ircMessage; private String twitterMessage; private File imageFile; /** * Instantiates a new cron value. * * @param name * the name * @param cron * the cron * @param ircMessage * the irc message * @param twitterMessage * the twitter message * @param imageFile * the image file */ public CronValue(final String name, final String description, final String cron, final String ircMessage, final String twitterMessage, final File imageFile) { this.name = name; this.description = description; this.cron = cron; this.ircMessage = ircMessage; this.twitterMessage = twitterMessage; this.imageFile = imageFile; } public String getCron() { return this.cron; } public String getDescription() { return this.description; } public File getImageFile() { return this.imageFile; } public String getIrcMessage() { return this.ircMessage; } public String getName() { return this.name; } public String getTwitterMessage() { return this.twitterMessage; } public void setCron(final String value) { this.cron = value; } public void setDescription(final String description) { this.description = description; } public void setImageFile(final File imageFile) { this.imageFile = imageFile; } public void setIrcMessage(final String ircMessage) { this.ircMessage = ircMessage; } public void setName(final String name) { this.name = name; } public void setTwitterMessage(final String twitterMessage) { this.twitterMessage = twitterMessage; } }