/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This 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 (at your option) any later version. * * This software 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this software; if not, write to the Free * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA * 02110-1301 USA, or see the FSF site: http://www.fsf.org. */ package org.xwiki.filter.instance.input; import org.xwiki.properties.annotation.PropertyDescription; import org.xwiki.properties.annotation.PropertyName; /** * @version $Id: 5a013a8c7f25a11266225519299842bdb2c9d7fa $ * @since 6.2M1 */ public class ExtensionInstanceInputProperties extends InstanceInputProperties { /** * @see #isWithRevisions() */ private boolean withRevisions = true; /** * @see #isWithJRCSRevisions() */ private boolean withJRCSRevisions = true; /** * @see #isWithWikiAttachments() */ private boolean withWikiAttachments = true; /** * @see #isWithWikiObjects() */ private boolean withWikiObjects = true; /** * @see #isWithWikiClass() */ private boolean withWikiClass = true; /** * @see #isWithWikiDocumentContentHTML() */ private boolean withWikiDocumentContentHTML; /** * @return Indicates if events should be generated for history */ @PropertyName("With revisions") @PropertyDescription("Indicates if events should be generated for history") public boolean isWithRevisions() { return this.withRevisions; } /** * @param withRevisions Indicates if events should be generated for history */ public void setWithRevisions(boolean withRevisions) { this.withRevisions = withRevisions; } /** * @return Indicates if JRCS based history should be added to document locale event properties */ @PropertyName("With JRCS revisions") @PropertyDescription("Indicates if JRCS based history should be added to document locale event properties") public boolean isWithJRCSRevisions() { return withJRCSRevisions; } /** * @param withJRCSRevisions Indicates if JRCS based history should be added to document locale event properties */ public void setWithJRCSRevisions(boolean withJRCSRevisions) { this.withJRCSRevisions = withJRCSRevisions; } /** * @return Indicate if events should be generated for attachments */ @PropertyName("With attachments") @PropertyDescription("Indicate if events should be generated for attachments") public boolean isWithWikiAttachments() { return this.withWikiAttachments; } /** * @param withWikiAttachments Indicate if events should be generated for attachments */ public void setWithWikiAttachments(boolean withWikiAttachments) { this.withWikiAttachments = withWikiAttachments; } /** * @return Indicate if events should be generated for classes */ @PropertyName("With classes") @PropertyDescription("Indicate if events should be generated for classes") public boolean isWithWikiClass() { return this.withWikiClass; } /** * @param withWikiClass Indicate if events should be generated for classes */ public void setWithWikiClass(boolean withWikiClass) { this.withWikiClass = withWikiClass; } /** * @return Indicate if events should be generated for objects */ @PropertyName("With objects") @PropertyDescription("Indicate if events should be generated for objects") public boolean isWithWikiObjects() { return this.withWikiObjects; } /** * @param withWikiObjects Indicate if events should be generated for objects */ public void setWithWikiObjects(boolean withWikiObjects) { this.withWikiObjects = withWikiObjects; } /** * @return Indicate if events should be generated for document content as HTML */ @PropertyName("With content as HTML") @PropertyDescription("Indicate if events should be generated for document content as HTML") public boolean isWithWikiDocumentContentHTML() { return this.withWikiDocumentContentHTML; } /** * @param withWikiDocumentContentHTML Indicate if events should be generated for document content as HTML */ public void setWithWikiDocumentContentHTML(boolean withWikiDocumentContentHTML) { this.withWikiDocumentContentHTML = withWikiDocumentContentHTML; } }