All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.craftercms.cstudio.publishing.PublishedChangeSet Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (C) 2007-2013 Crafter Software Corporation.
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program 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 General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see .
 */
package org.craftercms.cstudio.publishing;

import java.util.List;

/**
 * published change set
 * 
 * @author hyanghee
 *
 */
public class PublishedChangeSet {

	List createdFiles = null;
	List updatedFiles = null;
	List deletedFiles = null;

	/**
	 * default constructor
	 */
	public PublishedChangeSet() {}
	
	/**
	 * constructor to set lists of files
	 * 
	 * @param createdFiles
	 * @param updatedFiles
	 * @param deletedFiles
	 */
	public PublishedChangeSet(List createdFiles, List updatedFiles, List deletedFiles) {
		this.createdFiles = createdFiles;
		this.updatedFiles = updatedFiles;
		this.deletedFiles = deletedFiles;
	}
	
	/**
	 * @return the createdFiles
	 */
	public List getCreatedFiles() {
		return createdFiles;
	}

	/**
	 * @param createdFiles
	 *            the createdFiles to set
	 */
	public void setCreatedFiles(List createdFiles) {
		this.createdFiles = createdFiles;
	}

	/**
	 * @return the updatedFiles
	 */
	public List getUpdatedFiles() {
		return updatedFiles;
	}

	/**
	 * @param updatedFiles
	 *            the updatedFiles to set
	 */
	public void setUpdatedFiles(List updatedFiles) {
		this.updatedFiles = updatedFiles;
	}

	/**
	 * @return the deletedFiles
	 */
	public List getDeletedFiles() {
		return deletedFiles;
	}

	/**
	 * @param deletedFiles
	 *            the deletedFiles to set
	 */
	public void setDeletedFiles(List deletedFiles) {
		this.deletedFiles = deletedFiles;
	}

	@Override
	public String toString() {
		return "PublishedChangeSet{" +
			   "createdFiles=" + createdFiles +
			   ", updatedFiles=" + updatedFiles +
			   ", deletedFiles=" + deletedFiles +
			   '}';
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy