io.github.md2conf.model.ConfluencePage Maven / Gradle / Ivy
The newest version!
package io.github.md2conf.model;
import lombok.Getter;
import lombok.Setter;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import static java.util.Collections.emptyList;
/**
* @author Alain Sahli
*/
@Setter
@Getter
public class ConfluencePage {
private String title;
private String contentFilePath;
private ConfluenceContentModel.Type type = ConfluenceContentModel.Type.STORAGE;
private List children = new ArrayList<>();
private Map attachments = new HashMap<>();
private List labels = new ArrayList<>();
private boolean skipUpdate = false;
public List getChildren() {
return Objects.requireNonNullElse(this.children, emptyList());
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy